0

Reprogram Kit v1.1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

by caitsith2 on Fri Dec 21, 2007 9:50 pm

Do you have a crystal (plus matching capacitors) or a ceramic oscillator tied to Pins 2 & 3 of the AVR? The fuses are set up to use an external oscillator, and if you don't have one, programming will not succeed.


This what you should have, in a minimalist target board, assuming a 2X3 pin header ICSP connection

AVR Pin 1 - ICSP Pin 5

For an External Oscillator
AVR Pin 2 - External Oscillator Clock
AVR Pin 4 - Gnd - ICSP Pin 6 - External Oscillator Gnd

For Ceramic Osclillator
AVR Pin 2 - Ceramic Oscillator Pin 1
AVR Pin 3 - Ceramic Oscillator Pin 3
AVR Pin 4 - Gnd - ICSP Pin 6 - Ceramic Oscillator Pin 2
(Ceramic Oscillators have the matching capacitors built in already.)

For Crystal
AVR Pin 2 - Crystal Pin 1 - Matching Capacitor 1 Pin 1
AVR Pin 3 - Crystal Pin 2 - Matching Capacitor 2 Pin 1
AVR Pin 4 - Gnd - ICSP Pin 6 - Matching Capacitor 1 Pin 2 - Matching Capacitor 2 Pin 2.

AVR Pin 5 - ICSP Pin 4
AVR Pin 6 - ICSP Pin 1
AVR Pin 7 - ICSP Pin 3
AVR Pin 8 - Vcc - ICSP Pin 2.
caitsith2
 
Posts: 217
Joined: Thu Jan 18, 2007 11:21 pm

by sebastian on Sat Dec 22, 2007 12:03 pm

*d'oh*, sure, the external oscillator... completely forgot about that... :oops:

but this still doesn't work... maybe 8MHz ist just too much for those unshielded croco-cables and alu-foil etc. all over the desk, so close to the laptop for programming...!? (didn't unsolder it from the tv-b-gone, just connected GND and Pins 2+3 of the empty socket to the pins of the μC... i better don't post any pictures of that... :mrgreen: )

but that couldn't be a permanent solution anyway, so I'm giving up, getting myself another programmer, with sockets for AVR-controllers directly on-board... :P

unfortunately this won't ship until next near... :cry:
User avatar
sebastian
 
Posts: 5
Joined: Thu Dec 20, 2007 6:33 pm
Location: Hanover

Please be positive and constructive with your questions and comments.