Hello ! I've got an Arduino LEONARDO and Arduino MINI. Simply, I want to send sketches from IDE to my MINI throught LEONARDO.
I've tried with Arduino as ISP, but it doesn't work. Even i tried to change all Serial to Serial1 in ISP sketch, but same result here. I don't know what to do, and i don't want to buy any AVR programmer.
Thank you for your answer ! But Leonardo is not listed here, should I use UNO method ?
EDIT : It looks like the Nick Gammon's programmer is only burning bootloader, isn't it ? I just want to upload sketch to my Arduino MINI thru LEONARDO. (Because Arduino MINI doesn't have USB port.)
EDIT : It looks like the Nick Gammon's programmer is only burning bootloader, isn't it ?
Yes, and that should work (or can be made to work) from the leonardo, but it is probably not needed since the mini comes with a bootloader preburned. So I would start checking the bootloader is still present and working by connecting a led and resistor to the mini's pin 13 and see whether it blinks at least briefly upon startup.
You can simplify things a bit.
Using both of following simplifications you don't need to do the hacks described after the sketch in the write up:
Use the sketch for the leo from the link above, but change the baudrate line like this: static long baud = 115200;. This way the leo uses the same baud rate as the mini's boot loader from the beginning.
reset the mini manually (don't connect the mini's reset pin to the leo). Do you have the mini version with the reset button? If not wire one up.
Thanks, Kevlund. I'll place a link to this from my 'isp on leo' writeup.
Though actually I had hoped you used the 'leo as serial converter' approach. I planned to submit an enhancement request/pull request to integrate support for this this in the arduino core. This thread could help convince the developers... Well, when I find some time I'll submit my request...
Now you have something that works, you still might want to try the 'leo as serial converter' approach: right now you don't have a way to see Serial output from your sketches.
Hello.
I have got simillar problem. I am trying to upload "blink" sketch to my new Arduino Pro Mini using Arduino Leonardo as ISP. I connected like it is shown above, but I get error:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Arduino IDE : 1.0.5-r2
Board : Pro Mini ATMEGA328 5V/16MHz BOARD
Choosing "Arduino Micro" instead of "Arduino Mini" or "Arduino Pro Mini" doesn't help.
Please help. It just drives me crazy.
I spend really many hours trying to upload any sketch to Pro Mini and I still didn't success.
EDIT (1 day later): OK, it finally works (pins didn't touch breadboard) !