kkenpatt / optiboot

Automatically exported from code.google.com/p/optiboot
0 stars 0 forks source link

Short time between reset and flashing #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a linux system that doesn't do the reset wiggle.
2. Try to reflash a 16Mhz arduino pro using avrdude (5.10) -c arduino...
3. Note there is no bootloader for 16Mhz on a pro, so I don't know, maybe
the 8Mhz version is half the time.  

What is the expected output? What do you see instead?
It times out 4/5 times, running the application (or seeing noise?) instead
of flashing.  The first time with an erased flash works, but it is probably
constantly resetting.  After that I have to keep trying to start avrdude
and manually reset until it takes.

What version of the product are you using? On what operating system?
gcc-avr, avrdude 5.10 (for my dragon to program via ISP), the current
optiboot as of 5/3/10

Please provide any additional information below.

I have some problem with the original loader, but this seems 2x

Original issue reported on code.google.com by tz2026 on 3 May 2010 at 7:48

GoogleCodeExporter commented 8 years ago
The Arduino IDE doesn't ship with an Arduino Pro 16MHz loader. Suggest you use 
the Diecimila 328 or 168 
setting which should work at the correct speed for now.

It looks like this problem is probably Arduino Pro specific, as auto-reset 
isn't well supported on the Pro so a 
longer timeout will be needed.

I'll look into a specific Arduino Pro bootloader variant for the next release.

Original comment by cathed...@gmail.com on 6 May 2010 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by cathed...@gmail.com on 6 May 2010 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by wes...@gmail.com on 29 Oct 2011 at 5:34

GoogleCodeExporter commented 8 years ago
The timeout was increased from 0.5s to 1s, which at least gives manual reset 
boards a bit of a chance...

Original comment by wes...@gmail.com on 30 Oct 2011 at 8:35