Pages: [1]   Go Down
Author Topic: Any way to update optiboot without having a second arduino ?  (Read 351 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27089
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Online Online
Brattain Member
*****
Karma: 485
Posts: 18780
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: