Hi all,
i've recently purchased an Arduino Mini 05, unfortunately i don't have any USB Serial adapter. Looking throught the web, i found it is possible to upload a sketch using an arduino board, as seen in this page (http://arduino.cc/en/Guide/ArduinoMini). In order to do that, the big board has the chip removed.
I've got an Arduino Mega 2560 Rev 3, and it's impossible to remove the chip. I've tryed to connect the pins of the two Arduinos, and i've set the board to Arduino Mini w/ ATMega328 in the Arduino IDE, but when i try to upload the sketch i've got this error: avrdude: stk500_getsync(): not in sync: resp=0x00
Is it possible to use the Mega 2560 to upload a sketch to the Mini?
If yes, what's wrong with my setup?
Yes it is possible.
Connect:
Mega Mini
+5 VCC
Gnd Gnd
Rx Rx
Tx Tx
Connect Mega Reset to Gnd.
This puts the Mega into reset, and lets the USB/Serial chip talk to the Promini.
Select Tools:Board: 5V Promini 16 MHz
Start download - when IDE shows "compiled xxx of 32xxx bytes" press reset on the Mini.
May take a couple of tries to get the timing of the reset press correct.
Easier to see if you select File:Preferences and enable Verbose outputs.