Pages: [1] 2 3   Go Down
Author Topic: ISP!  (Read 3663 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I recently bought a Pro Mini and an Uno. I was wondering - as far as I know, the Uno cannot yet be used as an ISP (judging by the pinned post on the bootloader, it sounds like they're making progress with it though!). Is there any way to use the Pro Mini as a bootloader?
Logged

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

Quote
the Uno cannot yet be used as an ISP

Wanna bet?
Logged

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

It can be?

Are these the precise instructions?
http://arduino.cc/en/Tutorial/ArduinoISP
Logged

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


Close.  Add step 1.5...

1.5 Disable auto-reset.  Instructions are available here...
http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

However, if your Uno was "recently" purchased or if you have updated the bootloader, it is not necessary to disable auto-reset.  If you are using Arduino IDE 1.0 then the stock ArduinoISP sketch does not work; report back if you are using 1.0 and need help.
Logged

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


Oh, and sorry to be so rude.  Hello to you.
Logged

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

Hi Coding Badly,

smiley it's all good!

Yeah I'm currently working on 1.0, but I did read one of the posts here that said using 0023 was successful. Was going to PM you regarding your version of the sketch though.

I bought the Uno just yesterday - rev3.

Thanks for the help!
Logged

Washington
Offline Offline
God Member
*****
Karma: 38
Posts: 791
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have heard problems with version 1.0 and Arduino ISP. I am not sure if this is true or not but if it doesn't work, you should try downgrading your Arduino IDE.
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

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

Hi all,

Reporting back..

avrdude: stk500_recv(): programmer is no responding.

I tried the configuration w/ no external oscillator - is that going to be a problem? That includes downloading the breadboard configuration file.

When I run the bootloader program, the lights flash pin7, pin8 and then pin9, and the error shows up, but no error light (pin8??) is shown.
« Last Edit: January 26, 2012, 12:09:59 pm by wingsofpain » Logged

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


What method did you use to disable auto-reset?  Capacitor?  Resistor?  Both?
Logged

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are using the Arduino-1.0 IDE to load the ArduinoISP sketch you will have a problem.

Geta copy of Arduino-0.22 and load the ArduinoISP sketch and then the Arduino board will work just fine.

If you are using AVRDude to transfer a HEX file, the Arduino-0.22 sketch will run at -b 19200, the Arduino-1.0 sketch will run at -b 9600. If you are not running AVRDude directly this won't mean a thing to you.
Logged

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

Hi Coding Badly,

I didn't disable the reset, as per your instruction that a recent Uno wouldn't need it to be disable, which is consistent with what I read online, but I'll try that next w/ a 10k resistor. (Btw I'm using the bare minimum circuitry, trying to use the AVR's on-board 8 MHz clock. Is this not right?)


Hi kf2qd,

Thanks for the thought. I was using 0023, but I'll try 0022 next.

« Last Edit: January 26, 2012, 08:12:08 pm by wingsofpain » Logged

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


Correction...

but I'll try that next w/ a 10k 120 ohm resistor

...connected between RESET and +5V.
Logged

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

Huh.. OK.. Thanks!
Logged

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

Hi all,

SUCCESS!

I set up the breadboard with the external oscillator, then used 0022 to bootload. Once that worked, I tested with a simple sketch from 1.0, and it worked!

Please let me know if there's anything that might go wrong with that approach, but in the meantime thanks to all!
Logged

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


I'm glad you have it working.  Enjoy.
Logged

Pages: [1] 2 3   Go Up
Jump to: