Go Down

Topic: Uploading to Mega 2560 works in old software but not 1.0 (Read 1 time) previous topic - next topic

matty_brad

Hi, I've got an Arduino Mega 2560 which works absolutely fine when I use the old alpha software (0023) but very rarely works with the latest version (1.0). When I try to upload a sketch using the new software, I almost always get a timeout message. It's not the end of the world, because I can use the old software, but I thought it was a bit odd! Has anyone else experienced anything similar?

Mubase

Is this on a mac or pc???
I have a mega2560 that uploads using a PC but not the MAC.
Dunno why.. :s
Smooberry Dooberry.

Louis Davis

After digging through the forums for awhile, it looks like the problem is caused by the new version of AVRDUDE in 1.0

The previous version of AVRDUDE was a custom Arduino version that handled the DTR toggle that is needed to reset the boards before upload.

With 1.0, the IDE now uses the regular version of AVRDUDE that handles the DTR toggle for the UNO type boards, but does not handle the toggle for the boards that use the STK500v2. The Mega2560 uses the STK500v2 protocol.

Some users have replaced AVRDUDE in the 1.0 IDE with the older version from 23 or 22 and are now able to upload successfully.

See this post:
http://arduino.cc/forum/index.php/topic,83079.msg634191.html#msg634191

Mubase

Thanks! I tried your brilliant suggestion. Renames the arduino 1.0 avr folder to avronepoint nought and copied the avr folder from 0023 to hardware/tools...
Still the same.
:(:(:(:(:(:(:(::(:(:(:(:(:(:(:(:(:(:(:s
The company I bought the board from in China is sending me a new board though so I will wait for it and see if that one works....
In the mean time I'm keeping my ears peeled. :)
Cheers 4 now,
Steve.
Smooberry Dooberry.

matty_brad

Louis, thank you so much! That solved the problem first time. No more frenzied jabbing at the reset button for me!

Mubase, I'm using a PC, so I guess your Mac issue is something different? Hope you get it sorted!

Go Up