New firmware releases for STK600 are embedded with the releases of Atmel Studio. The upgrade process will start with 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 • AVR Studio 4/AVR32 Studio/AVR Studio 5/Atmel Studio Compatible • USB Interface to PC for Programming and Control • Powered from USB Bus or from an External 10-15V DC Power Supply • Adjustable Target V (0-5.5V) •...
STK600 Starter Kit Device Support Atmel Studio, AVR Studio 4, 5, and AVR32 Studio has support for a range of devices in all speed grades. Support for new AVR devices may be added in new versions of the software. Latest versions of the Integrated Development Environments are always available from www.microchip.com.
9-15V DC with positive center connector. The power switch turns the STK600 main power ON and OFF. The red LED is lit when 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 on a USB hub. The USB port must be capable of supplying 500mA. 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.
For Atmel Studio the correct routing and socket card can also be found by selecting the correct device in the STK600 programming dialog in Atmel Studio. A notification will display the correct routing and socket card to use, unless the STK600 already has the correct cards mounted. More information on the programming dialog can be found in the Programming Dialog pages in the Atmel Studio help.
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 31
STK600 Starter Kit 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,...
Page 32
STK600 Starter Kit and the white dot in the corner should match the one on the 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 34
STK600 Starter Kit 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...
Page 35
STK600 Starter Kit on the socket card should 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 36
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, make sure that the white spot in the corner matches the white spot on the motherboard.
The signal integrity is not optimized due to this. STK600 is not a reference design in any way, but a kit that serves as socket programmer with some additional peripheral hardware to get started with the AVR device. Serial communication at the highest frequencies may not work.
VDDIO SAM Routing Cards To allow SAM D20J devices to connect to the STK600, a special RC064SAM-72 routing card has been made. 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.
6.2.3.2 STK600 Status LED 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;...
Page 70
For AVR XMEGA devices the AREF pins are also general purpose I/O pins. Hence, to use the pins as GPIO the AREF jumpers must be removed. Note: For routing card “STK600-RC100X-13” revision A and revision B the AREF1 is connected to PA1. These cards are marked “A0607.3.1213.A” and “A0607.3.1213.B”.
6.4.1 The RESET Jumper The RESET jumper connects the RESET pin on the target AVR device to the STK600. When the RESET jumper is mounted, the STK600 controls the RESET signal. When the RESET jumper is not mounted, the RESET signal is disconnected. This latter is useful for prototyping applications with an external reset system.
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.7kΩ), STK600 may not be able to pull the RESET line low.
Page 74
STK600 Starter Kit 6.6.1 LEDs The LEDs are labeled LED0 to LED7. The corresponding pins on the LEDS header have the same labels. The LED hardware is shown in the figure below. The transistor circuit ensures the LED brightness is independent of the target voltage.
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 10kΩ pull-up is present to give all users a logical ̔ 1 ʼ on SWn when the push button is not pressed, even if the internal pull- up is not enabled.
Page 76
STK600 Starter Kit A switch selects between the following three options: • Programmable clock generator • Crystal oscillator (with socket for a crystal) • XTAL1 Pin tri-stated (to be used with the AVR deviceʼs internal RC oscillator) 6.7.1 Programmable Clock Generator The programmable clock generator is set from the PC software.
Page 77
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.
The STK600 includes RS-232 hardware that can be used for communication between the target AVR microcontroller in the socket and a PC serial port. STK600 has a 9-pin DSUB connector that can be connected to a PC with a straight serial cable (not a null modem cable).
CTS pin (negated CTS: “(you are) NOT Cleared To Send”). DataFlash Non-volatile Memory An AT45DB041B 4Mb DataFlash is included on the STK600 for non-volatile data storage. This is a high- density Flash memory chip with SPI serial interface. Detailed data sheet of the DataFlash can be obtained from the CD-ROM or from the Microchip website.
Page 80
STK600 Starter Kit 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 119mm between center to center. The expansion board must have a maximum width of 55mm to avoid collision with components on the main board.
6.11 User USB Connector STK600 has a USB connector that the target AVR devices with 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.
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 support the CAN protocol in hardware.
STK600 Starter Kit The ̔ M LINʼ jumper provides the master node pull-up, required if the application running on STK600 is the LIN bus master. The 3-pin LIN connector must provide V-battery (̔ B ATʼ) 12V>BAT>5V, and GND. ̔ B ATʼ must be supplied from an external source.
Page 86
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 voltage applied to the target AVR device is 0.9V or higher.
Ensure that the VTARGET jumper is mounted, and that the voltage is the within the operating range for the target device. See the Programming Dialog pages in the Atmel Studio help file for information on the STK600 programming dialog. The pinout of the 6- and 10-pin ISP headers are shown below: It is not necessary to remove the ISP cable while running a program in the AVR device.
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.
Page 90
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.
STK600 Starter Kit Ensure that the VTARGET jumper is mounted, and that the voltage is within the operating range for the target device. See the Programming Dialog pages in the Atmel Studio help file or the AVR32 Studio help for information on how to program the device using JTAG.
Page 93
STK600 Starter Kit 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.
STK600 Starter Kit UPDI Programming The Unified Program and Debug Interface (UPDI) is a proprietary interface for external programming and on-chip debugging of a device. It is a successor to the PDI 2-wire physical interface, which is found on all AVR XMEGA devices.
Page 95
STK600 Starter Kit 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. See the Socket System section on how to do this.
Page 97
STK600 Starter Kit 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 99
Mount the appropriate cards and the target device. See the Socket System section on how to do this. Connect a 6-wire cable between the two 6-pin ISP/PDI headers on the STK600. See the picture below. Ensure that both the VTARGET and RESET jumpers are mounted.
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. In addition, STK600 can be used as a JTAG programmer for AVR devices with a JTAG interface.
Page 101
STK600 Starter Kit 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 102
2.2kΩ (i.e., it should not be below 2.2kΩ). 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. Any decoupling capacitor should not be larger than 10μF.
Atmel Studio comes with a command line utility called atprogram that can be used to program targets using the STK600. During the Atmel Studio installation a shortcut called “Atmel 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.
No power source is Do one of the following: connected to STK600 • 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.
Page 105
STK600 Starter Kit Problem Reason Solution CKDIV fuse is set Reduce ISP programming speed External pull-up resistor on Ensure that external pull-up resistor is Reset line is too low ≥4.7kΩ AREF0 jumper mounted For some devices, the AREF0 is connected to a pin used for the ISP interface.
Force STK600 into Bootloader mode, and perform a firmware upgrade The LEDs do not work STK600 must be powered Supply power to STK600 and turn it ON (running from external for LEDs to work VTarget) Routing and Socket Card Issues...
Page 108
Before starting this procedure, make sure the latest Atmel 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 Doc Rev. Date Comments 08/2017 New document template. Microchip version DS40001904 Rev. A replaces Atmel version 32221 Rev. B. Updated Device Support table. Corrected some minor issues. 09/2016 Added UPDI interface 04/2016 Initial document release...
STK600 Starter Kit The Microchip Web Site Microchip provides online support via our web site at http://www.microchip.com/. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: •...
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark 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.
STK600 Starter Kit ISBN: 978-1-5224-1996-9 Quality Management System Certified by DNV ISO/TS 16949 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California ® ®...
Need help?
Do you have a question about the STK600 and is the answer not in the manual?
Questions and answers