Offline
Newbie
Karma: 0
Posts: 11
|
 |
« on: January 25, 2012, 04:18:11 am » |
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
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #1 on: January 25, 2012, 04:19:28 am » |
the Uno cannot yet be used as an ISP Wanna bet?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #3 on: January 25, 2012, 04:56:50 am » |
Close. Add step 1.5... 1.5 Disable auto-reset. Instructions are available here... http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnectionHowever, 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
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #4 on: January 25, 2012, 04:57:32 am » |
Oh, and sorry to be so rude. Hello to you.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #5 on: January 25, 2012, 05:24:36 am » |
Hi Coding Badly,  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
God Member
Karma: 20
Posts: 717
Firefox & Arduino rocks
|
 |
« Reply #6 on: January 25, 2012, 07:37:15 pm » |
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
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #7 on: January 26, 2012, 11:58:04 am » |
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
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #8 on: January 26, 2012, 03:36:14 pm » |
What method did you use to disable auto-reset? Capacitor? Resistor? Both?
|
|
|
|
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #9 on: January 26, 2012, 06:04:52 pm » |
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
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #10 on: January 26, 2012, 07:40:14 pm » |
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
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #11 on: January 26, 2012, 08:30:52 pm » |
Correction... but I'll try that next w/ a 10k 120 ohm resistor ...connected between RESET and +5V.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #12 on: January 26, 2012, 08:48:46 pm » |
Huh.. OK.. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #13 on: January 26, 2012, 10:52:34 pm » |
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
Offline
Shannon Member
Karma: 120
Posts: 10194
|
 |
« Reply #14 on: January 26, 2012, 11:09:00 pm » |
I'm glad you have it working. Enjoy.
|
|
|
|
|
Logged
|
|
|
|
|
|