Pages: [1]   Go Down
Author Topic: can't use arduino as isp  (Read 388 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 2
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Norfolk UK
Offline Offline
Edison Member
*
Karma: 65
Posts: 2442
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Assuming the chips are new, have you burnt a bootloader first to set the fuses.
Logged

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Offline Offline
Jr. Member
**
Karma: 2
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Norfolk UK
Offline Offline
Edison Member
*
Karma: 65
Posts: 2442
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Pages: [1]   Go Up
Jump to: