Go Down

Topic: Arduino UNO as ISP (Read 2683 times) previous topic - next topic

anilmaddala

Hi, I was looking into this link,to make a boot cloner and load Arduino IDE onto an empty Atmega 328 chip.

http://arduino.cc/en/Tutorial/ArduinoISP

I have a Uno, the form says this method doesn't work with Uno  :(. Is there any easy way to work around?

I am a newbie, so would like this to be done as simple as possible, even if it takes some time.

Thank you.

westfw

I'm not sure why it doesn't work on a Uno.  Or rather, I'm not sure why it works any worse on an Uno than it does on any other Arduino since the auto-reset code was added.

I put the ArduinoISP code on a old (pre auto-reset) Bare Bones Board, and it worked just fine for putting optiboot on blank AVRs...

retrolefty

Quote
I'm not sure why it doesn't work on a Uno.


From the  link the OP posted:

NOTE: Currently, you cannot use an Arduino Uno as an ISP programmer because the optiboot bootloader does not support this sketch. A revision for this is in progress.


westfw

Quote
you cannot use an Arduino Uno as an ISP programmer because the optiboot bootloader does not support this sketch.

Yes, I saw that.  But it doesn't make any sense.  A sketch does not normally require any "support" from the bootloader.

I envision a "opticlone" sketch, with a 6-pin cable coming off an arduino.  Plug it into some other Arduino's ISP port, hit the reset button, and it would automatically power up the slabe, figure out what CPU was there, load up the appropriate bootloader, change the fuses, and power it down again (no need to run AVRdude on a host at all...)  (Version control of the optiboot(s) in use might be ... tricky.)

JimmyDB

Just use a NON-Uno to flash your Uno with the previous bootloader... problem should be solved until the sketch is corrected.

Admittedly, it's a chicken before the egg scenario.

mr_mac3

#5
Nov 26, 2010, 10:22 pm Last Edit: Nov 26, 2010, 10:50 pm by mr_mac3 Reason: 1
I have an Uno and I just successfully bootloaded 2 ATmega644Ps and an ATmega644. I had no problems with my unmodified Uno burning the bootloaders. I don't know know if I am lucky or if the information you found is wrong. You should just try it. If you have problems post back!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://mrmac3.blogspot.com/
http://www.youtube.com/user/mrmacthree

mrbug

Did you do anything special with the hardware? Could you post a howto of the way that you did it?

mrbug

(bumping since the response could potentially help the entire community)

Coding Badly


I suggest prodding @mr_mac3 with a Personal Message or Email.

Go Up