Go Down

Topic: Any way to update optiboot without having a second arduino ? (Read 440 times) previous topic - next topic

Hi all,

It looks like I've run into the problem described at http://code.google.com/p/arduino/issues/detail?id=380 where I can't upload sketches larger than 28,992 bytes.

A solution at http://forums.adafruit.com/viewtopic.php?f=31&t=19243#p100082 describes a way to patch my existing Uno rev 1 using a second Arduino. I don't have one or know anyone who has one that I could borrow though.

Is there any way to do this without a second Arduino ?

Failing that, can this fix be done from a Mega? If I have to buy a new one to fix this problem, I figure I may as well get something with more memory.

retrolefty


Hi all,

It looks like I've run into the problem described at http://code.google.com/p/arduino/issues/detail?id=380 where I can't upload sketches larger than 28,992 bytes.

A solution at http://forums.adafruit.com/viewtopic.php?f=31&t=19243#p100082 describes a way to patch my existing Uno rev 1 using a second Arduino. I don't have one or know anyone who has one that I could borrow though.

Is there any way to do this without a second Arduino ?

Buy a 328P chip with a bootloader preburned into it?

Failing that, can this fix be done from a Mega? If I have to buy a new one to fix this problem, I figure I may as well get something with more memory.

Yes, arduinoISP is just a sketch and can therefore be run on a mega board.

Lefty


CrossRoads

Or get a standalone programmer, nothing wrong with having some tools if you're gonna stick with this for a while.
Atmel AVR ISP MKii recommended.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Nick Gammon

The Atmel programmer is powerful, but only runs on Windows as far as I know (this may or may not worry you).

You can get cheaper ones from eBay for around $10.

And yes, a Mega will do the trick too.

Another approach (a cheap one) is just to buy a new Atmega328P chip. Then use your existing Uno to program the new chip, eg. as described here:

http://www.gammon.com.au/forum/?id=11637

Then swap the chips over.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Thanks for the replies all.

The programmer working only on Windows is an issue for me - my environment is Linux and Mac. I can run Windows in a VM, but I've seen issues with hardware not working properly through VMWare before.

I'll look for a 328P chip and get that burned.

Go Up