Go Down

Topic: can't use arduino as isp (Read 464 times) previous topic - next topic

nanohex

Hi all!

I've run into a really weird problem recently:

Normally, I use my arduino uno r3 as an isp to program my other AVR chips (usually an attiny84) but for some reason, I can't program an atmega168 or an atmega328!

I keep getting an invalid device signature (usually either all 0s or all Fs, but sometimes a combination). My connections are fine, I checked them a hundred times, and when I rewire it to the attiny84, everything's alright. It just won't work with the 168 or 328 though. I've even tried 2 different 328 chips. Does anybody know what could be happening here?

Thanks!

Riva

Assuming the chips are new, have you burnt a bootloader first to set the fuses.
http://forum.arduino.cc/index.php?action=unread;boards=5,67,10,11,66,12,15,17,21,22,23,24,25,29;ALL

nanohex

I've messed around with the fuses on the 168, but the 328s have the bootloader burnt. Nothing changes when I add a 16MHz crystal though...

Riva

Apart from suggesting following this http://arduino.cc/en/Tutorial/ArduinoISP and remembering to put a capacitor across reset & ground on your UNO after uploading ArduinoISP sketch and then copy/pasting error messages into your next message.
http://forum.arduino.cc/index.php?action=unread;boards=5,67,10,11,66,12,15,17,21,22,23,24,25,29;ALL

Go Up