![Microchip Technology STK600 User Manual Download Page 33](http://html1.mh-extra.com/html/microchip-technology/stk600/stk600_user-manual_1785859033.webp)
JTAG programming an external target
See the Programming Dialog pages in the AVR Studio help file for information on the STK600 programming dialog.
See also the
Target Voltage
section.
Reset Line
The Reset line on any target board connected to STK600 should have a pull-up resistor. This pull-up should not be stronger than 2.2k ohm (i.e. it
should not be below 2.2kohm). If the pull-up resistor on the reset line is to strong, the short circuit protection will trigger when the reset is forced
low by the STK600. Any de-coupling capacitor should not be larger than 10uF.
Chapter 6. Troubleshooting and Support
Troubleshooting Guide
Table 6.1.
Problem
Reason
Solution
The main power LED is dark
The power switch is OFF
Turn on the power switch
No power source is connected to
STK600
Do one of the following:
z
Connect a USB cable between STK600 and a PC. Make sure the PC is
turned on.
z
Connect a DC power cable to STK600. Note: The DC-jack must have a
center pin with positive polarity.
The preprogrammed example
code does not toggle the
LEDS
There is no AVR device in the
socket
Plug the AVR device into the right socket (see
ISP Programming
and
Parallel
High Voltage Programming
).
The LEDS are not connected to
the I/O ports
Connect the LEDS header to the PORTD header, and SWITCHES header to
PORTB header (see
LEDs and Switches
).
No target voltage
Ensure that the VTG jumper is mounted and that VTG is set above 1.8V from
AVRStudio
The flash memory is erased
Reprogram the AVR device
The AVR device can not be
programmed using SPI.
The AVR device is inserted with
wrong orientation
Check that the notch on the AVR socket matches the notch on the AVR device.
The ISP/PDI headers are not
connected
Connect the 6-pin flexible cable between the two 6-pin ISP/PDI headers.
The VTARGET voltage is too
low
Check the AVR datasheet for minimum operating voltage
The memory lock bits are
programmed
Erase the memory before programming
The SPI enable fuse is un-
programmed
Program the SPIEN fuse using
Parallel High Voltage Programming
or
Serial
High Voltage Programming
Reset disable fuse is set.
Check reset disable fuse.
SPI frequency is too high.
Check STK600 SPI frequency and make sure it is lower than target clock divided
by 4.
CKDIV fuse is set
Reduce ISP programming speed
External pullup resistor on reset
line too low.
Ensure that external pullup resistor is
≥
4.7kOhm.
AREF0 jumper mounted
For some devices the AREF0 is connected to a pin used for the ISP interface.
The AREF0 jumper must therefore be removed to do serial programming of
these devices. See the ISP Programming section for which routingcards this
applies.
The VTARGET voltage is too
Check the AVR datasheet for minimum operating voltage
Page 33 of 35
STK600 User Guide
2008-06-20
file://C:\Documents and Settings\PAWEL\Ustawienia lokalne\Temp\~hhE369.htm