<?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/1351" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-04-07T18:08:16+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-04-07T18:08:16+02:00</updated>

		<published>2008-04-07T18:08:16+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4939#p4939</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4939#p4939"/>
		<title type="html"><![CDATA[AVR doper firmware compile issue]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4939#p4939"><![CDATA[
Thanks for the hints! I use AVR Studio to compile the firmware and missed to check tese options.<br /><br />Now the code compiles with zero warnings and runs properly!<br /><br /><img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><p>Statistics: Posted by Guest — Mon Apr 07, 2008 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-04-07T10:04:51+02:00</updated>

		<published>2008-04-07T10:04:51+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4925#p4925</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4925#p4925"/>
		<title type="html"><![CDATA[AVR doper firmware compile issue]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4925#p4925"><![CDATA[
The bundled hex file was built with gcc 3.4.6.<br /><br />The warnings you get suggest that you are not using the Makefile which ships with AVR-Doper. For the new WinAVR, the redefintion of F_CPU indicates that you pass it on the compiler command line (we have it in hardware.h in this project).<br /><br />And the &quot;comparison is always false&quot; warning indicates that you use a &quot;char is unsigned&quot; option for the compiler. This is not in our original Makefile.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Apr 07, 2008 10:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-04-07T08:18:08+02:00</updated>

		<published>2008-04-07T08:18:08+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4922#p4922</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4922#p4922"/>
		<title type="html"><![CDATA[AVR doper firmware compile issue]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1351&amp;p=4922#p4922"><![CDATA[
Hi,<br /><br />in order to change the AVR-Doper firmware version number I had to recompile the firmware. While doing so, I encountered a few problems:<br /><br />When compiling with WinAVR20080402RC1 I get a few warnings:<br /><br />../hardware.h:50:1: warning: &quot;F_CPU&quot; redefined<br />=&gt; can be removed by commenting out the lines<br /><br />../stk500protocol.c:137: warning: pointer targets in passing argument 1 of 'strcpy_P' differ in signedness<br />=&gt; serious???<br /><br />Anyway, when I flash the generated code ignoring the warnings, everything worked at first sight, but when I use AVR-Doper in HV-Mode, it looses USB connection during the flashing process. The originally provided hex works fine, though.<br /><br />I also have installed an old version WinAVR20060421<br /><br />here I get a different warning:<br />../timer.h:44: warning: comparison is always false due to limited range of data type<br />=&gt; haven't tested the generated code on AVR doper.<br /><br />Question:<br />-Which compiler version is the originally provided hex built with? <br />-Can the firmware successfully and functionally be built with new WinAVR versions? If so, how?<br /><br />Thanks, Tom<p>Statistics: Posted by Guest — Mon Apr 07, 2008 8:18 am</p><hr />
]]></content>
	</entry>
	</feed>
