Hello;
I just got my nice new avr-usb-jtag, and I want to make sure I have some things right before I blow it up.
I want to hook the usb jtag to my stk500 for debugging. I’ve been looking through atmel and the olimex docs and I think I have it right, but thought I had better check.
My intention is to make a little connector board that plugs into the expansion connector on the stk500 (like the atmel jtag’s do). I think the proper connections are:
jtag 1 (TCK) -> exp 28 (PC2)
jtag 2 (GND) -> exp 19 (GND)
jtag 3 (TDO) -> exp 26 (PC4)
jtag 4 (VREF) -> exp 22 (VTG)
jtag 5 (TMS) -> exp 27 (PC3)
jtag 6 (NSRST) -> exp 15 (RST)
jtag 7 (VCC) -> ?
jtag 8 (NTRST) -> no connection
jtag 9 (TDI) -> exp 25 (PC5)
jtag 10 (GND) -> exp 19 (GND)
Do I need to hook the usb jtag 7 (vcc) to the target? If I read the atmel sheets right the atmel ones don’t, but I don’t know if the olimex ones need that. I don’t need to add any pullup resistors or anything other than just pin connections, do I?
And in a related question. The STK501 adapter for the 500 (which lets you use the mega128 chips on the stk500) has a jtag connector, but can you use it to debug (jtag compatible) chips on the stk500, or only the chips directly on the 501? (The help file says “The JTAG connector is intended for the ATmega64, ATmega128 and ATCAN1m128 that has a build in JTAG interface”).
Thanks,
Steve