<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1293" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-03-17T12:26:35+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1293</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-17T12:26:35+02:00</updated>

		<published>2008-03-17T12:26:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4629#p4629</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4629#p4629"/>
		<title type="html"><![CDATA[PowerSwitch atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4629#p4629"><![CDATA[
D+ is connected to INT0/PD2<br /><br />i´m not sure. should this hex file work?<br /><br /><div class="codebox"><p>Code: </p><pre><code>C:\firmware&gt;make<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c usbdrv/usbdrv.c -o usbdrv/usbdr<br />v.o<br />In file included from usbdrv/usbdrv.h:13,<br />                 from usbdrv/usbdrv.c:16:<br />./usbconfig.h:252:38: warning: no newline at end of file<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -x assembler-with-cpp -c usbdrv/us<br />bdrvasm.s -o usbdrv/usbdrvasm.o<br />In file included from usbdrv/usbdrv.h:13,<br />                 from usbdrv/usbdrvasm.s:27:<br />./usbconfig.h:252:38: warning: no newline at end of file<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c usbdrv/oddebug.c -o usbdrv/odde<br />bug.o<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c main.c -o main.o<br />In file included from usbdrv/usbdrv.h:13,<br />                 from main.c:17:<br />./usbconfig.h:252:38: warning: no newline at end of file<br />main.c: In function 'main':<br />main.c:145: warning: large integer implicitly truncated to unsigned type<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -o main.bin usbdrv/usbdrv.o usbdrv<br />/usbdrvasm.o usbdrv/oddebug.o main.o<br />rm -f main.hex main.eep.hex<br />avr-objcopy -j .text -j .data -O ihex main.bin main.hex<br />./checksize main.bin<br />C:\firmware\checksize: awk: command not found<br />C:\firmware\checksize: &#91;: -gt: unary operator expected<br />ROM:  bytes &#40;data=&#41;<br />C:\firmware\checksize: &#91;: -gt: unary operator expected<br />RAM:  bytes<br /><br />C:\firmware&gt;</code></pre></div><p>Statistics: Posted by Guest — Mon Mar 17, 2008 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-17T10:11:38+02:00</updated>

		<published>2008-03-17T10:11:38+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4621#p4621</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4621#p4621"/>
		<title type="html"><![CDATA[Re: PowerSwitch atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4621#p4621"><![CDATA[
D+ or D- must be connected to INT0<br /><br /><br /><blockquote><div><cite>dk wrote:</cite>i want to compile the powerswitch projekt for a atmega8.<br /><br />i changed in usbconfig.h the lines<br />#define USB_CFG_IOPORTNAME D<br />#define USB_CFG_DMINUS_BIT 6<br />#define USB_CFG_DPLUS_BIT 7<br /><br />and the makefile<br />DEVICE = atmega8<br /><br />what else have i to do?<br /><br />i´m using the USBasp programmer and AVR studio4</div></blockquote><p>Statistics: Posted by Guest — Mon Mar 17, 2008 10:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-17T02:05:10+02:00</updated>

		<published>2008-03-17T02:05:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4617#p4617</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4617#p4617"/>
		<title type="html"><![CDATA[PowerSwitch atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4617#p4617"><![CDATA[
please give me just a little todo list for a succesfull hex file.<p>Statistics: Posted by Guest — Mon Mar 17, 2008 2:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-03-14T16:34:02+02:00</updated>

		<published>2008-03-14T16:34:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4570#p4570</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4570#p4570"/>
		<title type="html"><![CDATA[PowerSwitch atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1293&amp;p=4570#p4570"><![CDATA[
i want to compile the powerswitch projekt for a atmega8.<br /><br />i changed in usbconfig.h the lines<br />#define USB_CFG_IOPORTNAME D<br />#define USB_CFG_DMINUS_BIT 6<br />#define USB_CFG_DPLUS_BIT 7<br /><br />and the makefile<br />DEVICE = atmega8<br /><br />what else have i to do?<br /><br />i´m using the USBasp programmer and AVR studio4<p>Statistics: Posted by Guest — Fri Mar 14, 2008 4:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
