Go Down

Topic: NANO as ISP to MEGA. (Read 374 times) previous topic - next topic

gc9n

Hello guys, i am trying to use Arduino nano as an ISP to programm bootloader into a MEGA2560 , but i get an error not in sync: resp=0x15avrdude.exe done.

i was succesfully uploaded the same way with an UNO , is there something i am making wrong?
i am using this instructions.. http://arduino.cc/en/Tutorial/ArduinoISP

CrossRoads

Try using NickGammon's Arduino as ISP instead.
http://www.gammon.com.au/forum/?id=11635
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

gc9n

there is no way
i cant do it with nano , i dont know if anyone can Turn Nano to ISP

CrossRoads

Sure you can, its just an Uno in a different package arrangement.
D13 is SCLK, D11 is MISO, D10 is MOSI, and D10 is used to control Reset. These pins, along with +5, GND, will connect to the ICSP header, so your cable will just be a little different.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

Heck, the Nano already has an ISP header already too:
http://arduino.cc/en/Main/ArduinoBoardNano

So all you really need  is some female to female wires and 2 housings to make it all neat:
(connect to D10 on the Nano to the Reset pin on the Mega, the rest are 1 to 1)
http://www.pololu.com/catalog/product/1911
http://www.pololu.com/catalog/product/1800
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up