<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How-To update the Arduino</title>
	<atom:link href="http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/</link>
	<description>Microcontrollers Electronics Hobby</description>
	<lastBuildDate>Sun, 28 Mar 2010 03:07:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: frgmnt</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-624</link>
		<dc:creator>frgmnt</dc:creator>
		<pubDate>Sat, 25 Oct 2008 07:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-624</guid>
		<description>hours later.. everything works!

three times 50 minutes (test-read, program, verify) - time enough to learn a lot about fuses &amp; later tried everything:

if u just update your arduino, u dont have to worry about the fuses, just the lockbits are reset &amp; have to be set again to protect the bootloader from overwriting.

&quot;avrdude -c dapa -p m644p -P lpt3 -t&quot; entered terminal mode
&quot;d lock&quot; gave the lockbits´ value after programming = 0x3f,
&quot;w lock 0 0x0f&quot; set them to boot loader protection,
&quot;quit&quot; to exit.

u see, i had to use &quot;-P lpt3&quot; for my non standard parallel port address (and of cause i got a different processor in the sanguino: &quot;m644p&quot;). since my chip was brand-new i also had to set the three fuses manually.

an aduino which was preprogrammed has them already set right.


SPEED:

50 minutes is just too much! i have to burn 64 k instead of 16. i just tried to drop the delay introduced with &quot;-i 800&quot;.

programmed &amp; verified in 1 minute - instead of 100. this sounds like more fun, or? :)

but seriously: something is very wrong if such a huge delay is neccessary:

noise from the power supply - use a 9v battery.
weak drivers in the parallel port, thats what i suspect. - a buffer like 74hc244 will boost the signal easily.

hope this helps someone.

thanx again for pointing me in the right direction. now i m proud member of the AVR community!

.. soon i need no buffer - but a pillow.</description>
		<content:encoded><![CDATA[<p>hours later.. everything works!</p>
<p>three times 50 minutes (test-read, program, verify) &#8211; time enough to learn a lot about fuses &amp; later tried everything:</p>
<p>if u just update your arduino, u dont have to worry about the fuses, just the lockbits are reset &amp; have to be set again to protect the bootloader from overwriting.</p>
<p>&#8220;avrdude -c dapa -p m644p -P lpt3 -t&#8221; entered terminal mode<br />
&#8220;d lock&#8221; gave the lockbits´ value after programming = 0&#215;3f,<br />
&#8220;w lock 0 0&#215;0f&#8221; set them to boot loader protection,<br />
&#8220;quit&#8221; to exit.</p>
<p>u see, i had to use &#8220;-P lpt3&#8243; for my non standard parallel port address (and of cause i got a different processor in the sanguino: &#8220;m644p&#8221;). since my chip was brand-new i also had to set the three fuses manually.</p>
<p>an aduino which was preprogrammed has them already set right.</p>
<p>SPEED:</p>
<p>50 minutes is just too much! i have to burn 64 k instead of 16. i just tried to drop the delay introduced with &#8220;-i 800&#8243;.</p>
<p>programmed &amp; verified in 1 minute &#8211; instead of 100. this sounds like more fun, or? <img src='http://www.uchobby.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>but seriously: something is very wrong if such a huge delay is neccessary:</p>
<p>noise from the power supply &#8211; use a 9v battery.<br />
weak drivers in the parallel port, thats what i suspect. &#8211; a buffer like 74hc244 will boost the signal easily.</p>
<p>hope this helps someone.</p>
<p>thanx again for pointing me in the right direction. now i m proud member of the AVR community!</p>
<p>.. soon i need no buffer &#8211; but a pillow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frgmnt</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-623</link>
		<dc:creator>frgmnt</dc:creator>
		<pubDate>Fri, 24 Oct 2008 22:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-623</guid>
		<description>nice to find this tutorial. thanx!

i try to set up my new sanguino board (arduino compatible with atmega 644p, 64k flash) - i have some problems with the 0012 Alpha IDE built-in support for burning bootloaders with parallel dapa programmer.

since my parallel port is located at adress 0x3BC, i have to use the parameter -P lpt3 as well. i guess this is the reason why this IDE bootloader support doesnt work.

ATM i am reading out my empty chip (just testing) but be astonished how SLOW this is, also uses 90% of my processor 1GHz athlon. with 64 k it will be 50 mins or so - but at least it seems to work. :)

i have extracted the fuse settings from the boards.txt file - i guess i will need them later to protect the bootloader, right?</description>
		<content:encoded><![CDATA[<p>nice to find this tutorial. thanx!</p>
<p>i try to set up my new sanguino board (arduino compatible with atmega 644p, 64k flash) &#8211; i have some problems with the 0012 Alpha IDE built-in support for burning bootloaders with parallel dapa programmer.</p>
<p>since my parallel port is located at adress 0&#215;3BC, i have to use the parameter -P lpt3 as well. i guess this is the reason why this IDE bootloader support doesnt work.</p>
<p>ATM i am reading out my empty chip (just testing) but be astonished how SLOW this is, also uses 90% of my processor 1GHz athlon. with 64 k it will be 50 mins or so &#8211; but at least it seems to work. <img src='http://www.uchobby.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>i have extracted the fuse settings from the boards.txt file &#8211; i guess i will need them later to protect the bootloader, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David A. Mellis</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-622</link>
		<dc:creator>David A. Mellis</dc:creator>
		<pubDate>Sun, 07 Oct 2007 19:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-622</guid>
		<description>Arduino 0010 will have built-in support for burning bootloaders with a parallel programmer.  I don&#039;t have one to test with, but it&#039;s generating the same command lines you were using, so it should work.  It should be out in the next week or so.</description>
		<content:encoded><![CDATA[<p>Arduino 0010 will have built-in support for burning bootloaders with a parallel programmer.  I don&#8217;t have one to test with, but it&#8217;s generating the same command lines you were using, so it should work.  It should be out in the next week or so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felixe</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-621</link>
		<dc:creator>Felixe</dc:creator>
		<pubDate>Thu, 13 Sep 2007 19:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-621</guid>
		<description>I had one of the first Decimilla Arduinos with the incorrect hex image. I re-programmed it with USBtinyISP programmer with the instructions found at:

http://www.ladyada.net/forums/viewtopic.php?t=3558

Now I can program, upload and verify my code really fast (2 seconds aprox.) I&#039;m also quite sure I could have done the same with my parallel port programmer.</description>
		<content:encoded><![CDATA[<p>I had one of the first Decimilla Arduinos with the incorrect hex image. I re-programmed it with USBtinyISP programmer with the instructions found at:</p>
<p><a href="http://www.ladyada.net/forums/viewtopic.php?t=3558" rel="nofollow">http://www.ladyada.net/forums/viewtopic.php?t=3558</a></p>
<p>Now I can program, upload and verify my code really fast (2 seconds aprox.) I&#8217;m also quite sure I could have done the same with my parallel port programmer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfowler</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-620</link>
		<dc:creator>dfowler</dc:creator>
		<pubDate>Wed, 12 Sep 2007 21:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-620</guid>
		<description>David,

Yes I see that now.. I did not notice the directory prefix on your AVRDude command line.

It may still be a good idea to do the steps as described to reduce the chances for error on the command line.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Yes I see that now.. I did not notice the directory prefix on your AVRDude command line.</p>
<p>It may still be a good idea to do the steps as described to reduce the chances for error on the command line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David A. Mellis</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-619</link>
		<dc:creator>David A. Mellis</dc:creator>
		<pubDate>Wed, 12 Sep 2007 16:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-619</guid>
		<description>Right, it&#039;s in the root Arduino application directory, since that&#039;s the working directory for the Arduino environment (arduino.exe) and thus where Windows will look for DLL&#039;s.  That&#039;s why you need to use the .\tools\avr\bin\avrdude path - so your working directory is the Arduino application directory and avrdude can find the libusb DLL.

Of course, in the next version of Arduino, you shouldn&#039;t need to worry about any of this.  :)</description>
		<content:encoded><![CDATA[<p>Right, it&#8217;s in the root Arduino application directory, since that&#8217;s the working directory for the Arduino environment (arduino.exe) and thus where Windows will look for DLL&#8217;s.  That&#8217;s why you need to use the .\tools\avr\bin\avrdude path &#8211; so your working directory is the Arduino application directory and avrdude can find the libusb DLL.</p>
<p>Of course, in the next version of Arduino, you shouldn&#8217;t need to worry about any of this.  <img src='http://www.uchobby.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfowler</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-618</link>
		<dc:creator>dfowler</dc:creator>
		<pubDate>Wed, 12 Sep 2007 15:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-618</guid>
		<description>David,

Libusb was not in the bin directory where AVRDude is. At least not on my install. I am fairly sure I just copied the directory as expected for the install so libusb may have been left out of the currrent Arduino IDE release.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Libusb was not in the bin directory where AVRDude is. At least not on my install. I am fairly sure I just copied the directory as expected for the install so libusb may have been left out of the currrent Arduino IDE release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David A. Mellis</title>
		<link>http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/comment-page-1/#comment-617</link>
		<dc:creator>David A. Mellis</dc:creator>
		<pubDate>Wed, 12 Sep 2007 14:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.uchobby.com/index.php/2007/09/12/how-to-update-the-arduino/#comment-617</guid>
		<description>Thanks for the great writeup.  This should definitely be helpful to people looking to upgrade their bootloader.  It will definitely help me, since now I have a good place to point people who are looking for good directions.

One comment about libusb.  Because there&#039;s no installer for Arduino on Windows, everything needs to be in the Arduino application directory, including libusb.  If you run avrdude from the Arduino application directory, it should find the libusb dll there and use it.  That is, you should be able to do something like:

cd c:\arduino-0009
.\tools\avr\bin\avrdude -C .\tools\avr\etc\avrdude.conf ....</description>
		<content:encoded><![CDATA[<p>Thanks for the great writeup.  This should definitely be helpful to people looking to upgrade their bootloader.  It will definitely help me, since now I have a good place to point people who are looking for good directions.</p>
<p>One comment about libusb.  Because there&#8217;s no installer for Arduino on Windows, everything needs to be in the Arduino application directory, including libusb.  If you run avrdude from the Arduino application directory, it should find the libusb dll there and use it.  That is, you should be able to do something like:</p>
<p>cd c:\arduino-0009<br />
.\tools\avr\bin\avrdude -C .\tools\avr\etc\avrdude.conf &#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
