Pages: [1]   Go Down
Author Topic: Arduino UNO as ISP  (Read 2519 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6763
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

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.

Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6763
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: November 26, 2010, 04:50:11 pm by mr_mac3 » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 208
Posts: 12936
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Pages: [1]   Go Up
Jump to: