Go Down

Topic: ATMega2560 ICSP (Read 2 times) previous topic - next topic

dbbaker2007


Yes, I guess it would. But plan ahead leave pads for one.


Yeah, good idea.  Better safe than sorry.  I might be back after I receive my PCB. Hopefully not though lol.

CrossRoads

Well, you have to come back at least once at let us know how it went 8)
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

plusmartin

hi crossroads

Im having a similar situation with a custom board that has an atmega2560. the ISP port is connected to a USB-SPI chip to talk to a PC without the need of drivers (like for the FTDI)
im trying to program the bootloader but this error appears:


avrdude: stk500v2_command(): command failed
avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: MOSI fail, SCK fail
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


Im using the avrisp mkii and the custom board has all the caps and osc stuff in place.
could it be that this chip is interfering? thanks

CrossRoads

Could be - is it driving the SCK & MOSI lines when Reset is active? You need it off those lines when the MKii pulls Reset low.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up