New firmware releases for STK600 are embedded with the releases of Microchip Studio. The upgrade process starts with a connection to the STK600 board (the user will be asked to perform the procedure). Should the automatic upgrade fail, try the manual upgrade procedure.
STK600 Starter Kit Features Features ® • Microchip Studio/AVR Studio 5/AVR Studio 4/AVR32 Studio • USB Interface to PC for Programming and Control • Powered from the USB Bus or an External 10-15V DC Power Supply • Adjustable Target V (0-5.5V)
STK600 Starter Kit Device Support Device Support ® Microchip Studio and MPLAB X have support for a range of devices in all speed grades. Support for new AVR devices may be added in new versions of the software. The latest versions of the Integrated Development Environments are always available from www.microchip.com.
The power switch turns the STK600 main power ON and OFF. The red LED is lit when the power is ON, and the status LED will turn green. The green LED beside the VTG jumper indicates that the target voltage is present.
Connecting the Hardware The STK600 must be connected to a host PC with a USB cable. Connect the cable to a free USB port on the PC or a USB hub. The USB port must be capable of supplying 500 mA. If using a USB hub, make sure it has an external power supply.
Target Socket System Socket System STK600 is designed to support all AVR devices with internal Flash memory. A system based on socket and routing cards is used to support different package types and pinouts on the STK600 board. The picture below shows an STK600 with a mounted routing card and socket card.
Page 42
STK600 Starter Kit Target Socket System A routing card is a device-specific card. It routes signals between the STK600 motherboard and the socket card. Note that several devices may use the same routing card if they share the same pinout.
Mounting the routing and socket cards can either be done by plastic clips or plastic screws/nuts. Both sets are included in the STK600 package. Install either the clips or the nuts to the motherboard, depending on what solution you want to use.
Page 44
STK600 Starter Kit Target Socket System 5.4.1.2 Routing Card Align the clips with the white lines on the motherboard. The routing card can now be placed above the four clips. Make sure that the routing card has the correct orientation (i.e., the text should face upwards, and the white dot in...
Page 45
STK600). Press down the routing card (i.e., compress the spring-loaded connector on the STK600) and turn the clip 45 degrees in the clockwise direction so that it aligns with the white line on the routing card.
Page 46
STK600 Starter Kit Target Socket System 5.4.1.3 Socket Card Connecting the socket card is done in the same way as the routing card. Make sure that the clips align with the white line outside the clip holes on the routing card, then mount the socket card. The white spot on the socket card should...
Page 47
STK600 Starter Kit Target Socket System align with the one on the routing card. Press down the socket card (i.e., compress the spring-loaded connector on the socket card) and turn the clip 45 degrees in the clockwise direction until it aligns with the white line outside the clip hole.
Page 48
5.4.2 Using Screws and Nuts 5.4.2.1 Motherboard Insert the nuts into the STK600 motherboard from the bottom side. When properly installed, the two locking springs should hold the nut in place. 5.4.2.2 Routing and Socket Card Place the routing card above the motherboard and make sure that the white spot in the corner matches the white spot on the motherboard.
Due to this, the signal integrity is not optimized. STK600 is not a reference design in any way but a kit that serves as a socket programmer with some additional peripheral hardware to get started with the AVR device.
Page 50
STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PB10 PB11 RESET RESET AREF0 AREF0 VBUS VBUST VDDANA VDDCORE VDDIN VDDOUT VDDPLL STK600-RCUC3B48-27 Device Pin Name STK600 Pin Name PA10 PA11 PB3, TOSC1 PA12 TOSC2, PB4...
VDDIO SAM Routing Cards A special RC064SAM-72 routing card has been made to allow SAM D20J devices to connect to STK600. This breaks out the pins to the pins on the STK600. Note: The STK600 itself cannot communicate with the SAM device as the STK600 does not support SWD or the JTAG commands needed for SAM devices.
If a short circuit is detected when using the on-board VTG supply, the STK600 status LED will blink red. Analog Reference Voltages The A/D converter of the AVR device needs a reference voltage to set its converting range. STK600 can supply two of these voltages; AREF0 and AREF1.
Page 80
VTG value from the programming dialog in Microchip Studio before setting AREF. Note: The AREF0 and AREF1 voltages, which are visible in the PC software, are the STK600 generated voltages. Externally applied AREF voltages cannot be read from Microchip Studio.
STK600 during programming. 6.4.2 The RESET Button STK600 has a reset button that resets the target AVR device when being pushed. The button has no function if the RESET jumper is not mounted. 6.4.3 RESET Signal on AUX Header The target RESET signal of the AVR device is accessible on the AUX header.
When connected to an external system, there is often an external pull-up resistor and a capacitor connected to the reset line. A typical reset connection is shown below. If the external pull-up resistor is too strong (i.e., << 4.7 kΩ), STK600 may not be able to pull the RESET line low. See also section 7.9.1.
The TOSC1 pin can easily be connected to the AUX portʼs 32 KHz pin (32.768 kHz clock signal) by a jumper. LEDs and Switches STK600 has eight LEDs and eight switches that can be connected to I/O pins on the AVR device. The LEDS and SWITCHES connectors are found in the port connector area. 6.6.1 LEDs The LEDs are labeled LED0 to LED7.
Note: On most AVR device pins configured as input, you can enable an internal pull-up, removing the need for an external pull-up on the push button. In the STK600 design, an external 10 kΩ pull-up is present to give all users a logical ̔...
Page 85
STK600 Starter Kit Hardware Description A switch selects between the following three options: • Programmable clock generator • Crystal oscillator (with a socket for a crystal) • XTAL1 Pin tri-stated (to be used with the AVR deviceʼs internal RC oscillator) 6.7.1...
Some AVR devices have an XTAL1 pin, which can also be used as a regular I/O port pin. The routing card for these devices will connect the device pin to both the XTAL1 net and a port pin header on the STK600. Hence, to use the pin as an I/O port, the clock selection switch must be set to position INT to disconnect the clock drivers on STK600 from the pin.
DataFlash Nonvolatile Memory An AT45DB041B 4 Mb DataFlash is included on the STK600 for nonvolatile data storage. This is a high-density Flash memory chip with Serial Peripheral Interface (SPI). A detailed data sheet of the DataFlash can be obtained from the Microchip website.
DATAFLASH can be used for connecting the SPI of the DataFlash to the I/O pins on the target AVR microcontroller in the socket. Two-wire cables are included with STK600 for connecting the DataFlash to the I/O pins. The connection of the I/O pins is shown in the figure below.
Page 89
STK600 Starter Kit Hardware Description The connectors to be used on an expansion board are manufactured by FCI and have P/N: 61082-101402LF. See also www.fciconnect.com for more information. The connectors must be placed with exactly 119 mm from center to center. The expansion board must have a maximum width of 55 mm to avoid collision with components on the mainboard.
6.11 User USB Connector STK600 has a USB connector that the target AVR devices with a USB interface can utilize. The connector is a Mini-AB connector that supports on-the-go functionality. The routing card for the device connects the USB connector to the appropriate pins on the AVR device.
Controller Area Network (CAN) is a broadcast, differential serial bus standard typically used in the automotive industry. The CAN features high immunity to electromechanical noise and arbitration-free fixed priority. STK600 features the ATA6660 CAN transceiver. A male DB9 connector and a 10-pin header are provided for a bus connection.
Page 93
The CAN transceiver is connected to the MCU through the two-pin (RX and TX) ̔ C ANʼ header near the switches on STK600. The target MCU can be any AVR device (bit-banging or USART), but more typically, it is one of the AT90CAN series, which supports the CAN protocol in hardware.
For further reference, see the ATA6661 data sheet. The LIN transceiver is connected to the MCU through the 6-pin ̔ L INʼ header near the switches on STK600. The target MCU will usually implement the LIN protocol in software through a USART interface. The ̔ N SLPʼ pin must be actively driven high to keep the ATA6661 from a sleep mode.
6.14.2 Main Power LED The red power LED is directly connected to the STK600 main power supply. The power LED is always lit when power is applied to STK600. 6.14.3 Target Power LED The target power LED is lit when the voltage applied to the target AVR device is 0.9V or higher.
Flash and EEPROM, fuses, lock-bits, and calibration bytes. Note: The ISP frequency (SCK) must be less than 1/4 of the target clock. The ISP frequency is set by the STK600 programming dialog in Microchip Studio.
Mount the routing and socket card and the target device. See the Socket System section on how to do this. Use the two 10-wire cables supplied with the STK600 to connect the PROG DATA and the PROG CTRL to the target device, as shown in the picture below.
Programming Ensure that VTarget is between 4.5V and 5.5V. See the Programming Dialog pages in the Microchip Studio help file for information on the STK600 programming dialog. Note: The AREF jumper must be removed before programming of devices that have AREF on a pin used by the high-voltage programming interface.
Page 99
Mount the routing and socket card and the target device. See the Socket System section on how to do this. Use a 10-wire cable supplied with the STK600 to connect the PROG DATA to the target device, as shown in the picture below.
Mount the routing and socket card and the target device. See the Socket System section on how to do this. Connect a 10-wire cable between the two 10-pin JTAG headers on the STK600. See the picture below. Ensure that the VTARGET jumper is mounted and that the voltage is within the operating range for the target device.
STK600 Starter Kit Programming See the Programming Dialog pages in the Microchip Studio help file or the AVR32 Studio help for information on how to program the device using JTAG. The pinout of the JTAG header is shown below: See also section 7.9.
Page 102
STK600 Starter Kit Programming The PDI interface requires two of the deviceʼs pins; PDI_DATA and PDI_CLOCK. On STK600, they are found on the ISP/PDI connector. 7.5.1 Hardware Setup for On-Board Programming Mount the routing and socket card and the target device. See the Socket System section on how to do this.
It can, in-system, download code into the Flash application and boot memories, EEPROM memory, fuses, lock-bits, and signature information. The UPDI interface requires one of the deviceʼs pins; UPDI_DATA. On STK600, it is found on the ISP/PDI connector. 7.6.1 Hardware Setup for On-Board Programming Mount the routing and socket card and the target device.
Page 105
STK600 Starter Kit Programming The aWire interface requires only the reset pins for serial communication. On STK600, it is found on the ISP/PDI or the JTAG connector. 7.7.1 Hardware Setup for aWire Programming Connect aWire using a 6-pin cable between the ISP/PDI connectors.
Page 107
STK600 Starter Kit Programming The TPI interface requires two of the deviceʼs pins, TPIDATA and TPICLK, in addition to the RESET pin. On STK600, they are found on the ISP/PDI connector. Note: TPI should only be used on-board. It is not safe to program a device on an external board through the TPI interface.
The STK600 can be used as a programmer to program AVR devices in other applications. There are two different ISP connector pinouts available; a 6-pin and a 10-pin version. Both are supported by STK600. The 6-pin header is a combined ISP and PDI connector. Also, STK600 can be used as a JTAG programmer for AVR devices with a JTAG interface.
Page 109
STK600 Starter Kit Programming Select the device to be programmed in the same way as programming a device on STK600. The VCC of the target application is detected by STK600, and signals are converted into voltage levels suitable for the target system.
Page 110
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.2 kΩ (i.e., it should not be below 2.2 kΩ). If the pull-up resistor on the reset line is too strong, the short circuit protection will trigger when the reset is forced low by the STK600.
Microchip Studio comes with a command-line utility called atprogram that can be used to program targets using the STK600. During the Microchip Studio installation, a shortcut called “Microchip Studio 7.0 Command Prompt” was created in the Atmel folder on the Start menu. By double-clicking this shortcut, a command prompt will be opened, and programming commands can be entered.
• Connect a USB cable between STK600 and a PC. Make sure the PC is turned on. • Connect a DC power cable to STK600. Note: The DC jack must have a center pin with positive polarity. The pre-programmed example...
Page 113
Reset disable fuse is set Check the reset disable fuse SPI frequency is too high Check STK600 SPI frequency and make sure it is lower than the target clock divided by 4 CKDIV fuse is set Reduce ISP programming speed External pull-up resistor on the Ensure that the external pull-up resistor is ≥4.7...
Page 116
Before starting this procedure, make sure the latest Microchip Studio release is installed on the computer. Turn off STK600 and connect it to the PC using the USB cable. Press and hold the PROGRAM button when turning ON the STK600 power switch. The status LED will flash red and orange, indicating upgrade mode.
STK600 Starter Kit Revision History Revision History Doc Rev. Date Comments 02/2021 Updated Device Support 12/2020 Updated Device Support 09/2020 Updated Device Support 09/2019 • Updated Device Support • Several editorial updates 05/2018 Updated 6.12 and 6.13 due to new part numbers for LIN and CAN transceivers. Updated Device Support section with product names in addition to order code.
STK600 Starter Kit The Microchip Website Microchip provides online support via our website at www.microchip.com/. This website is used to make files and information easily available to customers. Some of the content available includes: • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software •...
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
Need help?
Do you have a question about the STK600 and is the answer not in the manual?
Questions and answers