Microchip Technology STK600 User Manual

Microchip Technology STK600 User Manual

Avr flash mcu starter kit
Hide thumbs Also See for STK600:

Advertisement

STK600 Starter Kit
®
STK600 AVR
Flash MCU Starter Kit User's Guide

Overview

®
The STK600 is a complete starter kit and development system for the AVR
Flash microcontroller. It allows designers
a quick start in developing code on the AVR device, combined with advanced features for using the starter kit to
prototype and test new designs.
New firmware releases for STK600 are embedded with the releases of Atmel 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.
User Guide
40001904D-page 1
©
2019 Microchip Technology Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STK600 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology STK600

  • Page 1: Overview

    New firmware releases for STK600 are embedded with the releases of Atmel 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.
  • Page 2: Table Of Contents

    Mounting the Cards........................44 5.5. Signal Integrity..........................50 5.6. AVR UC3 Routing Card Pin Mapping..................50 5.7. SAM Routing Cards........................78 Hardware Description..........................79 6.1. STK600 Block Diagram......................79 6.2. Target Voltage VTG........................79 6.3. Analog Reference Voltages......................80 6.4. RESET Control...........................82 6.5. Port Connectors......................... 83 6.6.
  • Page 3 STK600 Starter Kit Command-Line Utility.......................... 111 Troubleshooting and Support......................112 9.1. Troubleshooting Guide......................112 9.2. Routing and Socket Card Issues....................115 9.3. Technical Support........................115 9.4. Firmware Upgrade........................115 10. Revision History...........................117 The Microchip Website..........................118 Product Change Notification Service......................118 Customer Support............................118 Microchip Devices Code Protection Feature....................
  • Page 4: Features

    STK600 Starter Kit Features Features ® • Studio 4/AVR32 Studio/AVR Studio 5/Atmel Studio Compatible • 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)
  • Page 5: Known Issues

    STK600 Starter Kit Known Issues Known Issues There are no known issues with the STK600. User Guide 40001904D-page 5 © 2019 Microchip Technology Inc.
  • Page 6: Device Support

    STK600 Starter Kit Device Support 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.
  • Page 7 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment AT32UC3B064 ATSTK600-RC21 - STK600- ATSTK600-SC21 - STK600- RCUC3B0-21 QFN64 AT32UC3B1128 ATSTK600-RC27 - STK600- ATSTK600-SC16 - STK600- RCUC3B48-27 TQFP48 AT32UC3B1128 ATSTK600-RC27 - STK600- ATSTK600-SC41 - STK600- RCUC3B48-27 QFN48 AT32UC3B1256...
  • Page 8 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment AT32UC3C2512C ATSTK600-RC40 - STK600- ATSTK600-SC14 - STK600- RCUC3C2-40 TQFP64-2 AT32UC3C2512C ATSTK600-RC40 - STK600- ATSTK600-SC21 - STK600- RCUC3C2-40 QFN64 AT32UC3C264C ATSTK600-RC40 - STK600- ATSTK600-SC14 - STK600- RCUC3C2-40 TQFP64-2 AT32UC3C264C...
  • Page 9 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment AT90PWM161 ATSTK600-RC26 - STK600- ATSTK600-SC11 - STK600-SOIC RCPWM-26 AT90PWM216 ATSTK600-RC19 - STK600- ATSTK600-SC11 - STK600-SOIC RCPWM-19 AT90PWM2B ATSTK600-RC19 - STK600- ATSTK600-SC11 - STK600-SOIC RCPWM-19 AT90PWM316 ATSTK600-RC19 - STK600-...
  • Page 10 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMC21E16A ATSTK600-RC89 - STK600- ATSTK600-SC10 - STK600- Breakout board RC032SAM-89 TQFP32 only. STK600 cannot program this device ATSAMC21E16A ATSTK600-RC89 - STK600- ATSTK600-SC12 - STK600- Breakout board RC032SAM-89 QFN32 only.
  • Page 11 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMC21G17A ATSTK600-RC88 - STK600- ATSTK600-SC41 - STK600- Breakout board RC048SAM-88 QFN48 only. STK600 cannot program this device ATSAMC21G18A ATSTK600-RC88 - STK600- ATSTK600-SC16 - STK600- Breakout board RC048SAM-88 TQFP48 only.
  • Page 12 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMC21J18A ATSTK600-RC87 - STK600- ATSTK600-SC14 - STK600- Breakout board RC064SAM-87 TQFP64-2 only. STK600 cannot program this device ATSAMC21J18A ATSTK600-RC87 - STK600- ATSTK600-SC21 - STK600- Breakout board RC064SAM-87 QFN64 only.
  • Page 13 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD20E14 ATSTK600-RC79 - STK600- ATSTK600-SC10 - STK600- Breakout board RC032SAM-79 TQFP32 only. STK600 cannot program this device. ATSAMD20E14B ATSTK600-RC79 - STK600- ATSTK600-SC12 - STK600- Breakout board RC032SAM-79 QFN32 only.
  • Page 14 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD20E17 ATSTK600-RC79 - STK600- ATSTK600-SC12 - STK600- Breakout board RC032SAM-79 QFN32 only. STK600 cannot program this device. ATSAMD20E17 ATSTK600-RC79 - STK600- ATSTK600-SC10 - STK600- Breakout board RC032SAM-79 TQFP32 only.
  • Page 15 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD20G15B ATSTK600-RC78 - STK600- ATSTK600-SC41 - STK600- Breakout board RC048SAM-78 QFN48 only. STK600 cannot program this device. ATSAMD20G16 ATSTK600-RC78 - STK600- ATSTK600-SC16 - STK600- Breakout board RC048SAM-78 TQFP48 only.
  • Page 16 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD20J14B ATSTK600-RC72 - STK600- ATSTK600-SC14 - STK600- Breakout board RC064SAM-72 TQFP64-2 only. STK600 cannot program this device. ATSAMD20J14B ATSTK600-RC72 - STK600- ATSTK600-SC21 - STK600- Breakout board RC064SAM-72 QFN64 only.
  • Page 17 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD20J17 ATSTK600-RC72 - STK600- ATSTK600-SC21 - STK600- Breakout board RC064SAM-72 QFN64 only. STK600 cannot program this device. ATSAMD20J18 ATSTK600-RC72 - STK600- ATSTK600-SC14 - STK600- Breakout board RC064SAM-72 TQFP64-2 only.
  • Page 18 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD21E17A ATSTK600-RC89 - STK600- ATSTK600-SC10 - STK600- Breakout board RC032SAM-89 TQFP32 only. STK600 cannot program this device. ATSAMD21E17A ATSTK600-RC89 - STK600- ATSTK600-SC12 - STK600- Breakout board RC032SAM-89 QFN32 only.
  • Page 19 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD21G16B ATSTK600-RC88 - STK600- ATSTK600-SC41 - STK600- Breakout board RC048SAM-88 QFN48 only. STK600 cannot program this device. ATSAMD21G17A ATSTK600-RC88 - STK600- ATSTK600-SC16 - STK600- Breakout board RC048SAM-88 TQFP48 only.
  • Page 20 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATSAMD21J16B ATSTK600-RC87 - STK600- ATSTK600-SC14 - STK600- Breakout board RC064SAM-87 TQFP64-2 only. STK600 cannot program this device. ATSAMD21J16B ATSTK600-RC87 - STK600- ATSTK600-SC21 - STK600- Breakout board RC064SAM-87 QFN64 only.
  • Page 21 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATUC256L4U ATSTK600-RC53 - STK600- ATSTK600-SC41 - STK600- RCUC3L4U-53 QFN48 ATUC256L4U ATSTK600-RC53 - STK600- ATSTK600-SC16 - STK600- RCUC3L4U-53 TQFP48 ATUC64D3 ATSTK600-RC48 - STK600- ATSTK600-SC14 - STK600- RCUC3D3-48 TQFP64-2 ATUC64D3...
  • Page 22 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega128A ATSTK600-RC09 - STK600- ATSTK600-SC02 - STK600- RC064M-9 TQFP64 ATmega128A ATSTK600-RC09 - STK600- ATSTK600-SC21 - STK600- RC064M-9 QFN64 ATmega128RFA1 ATAVR128RFA1-EK1 - STK600- ATMEGA128RFA1 ATmega16 ATSTK600-RC05 - STK600- ATSTK600-SC01 - STK600-DIP...
  • Page 23 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega165A ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega165P ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega165P ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega165PA...
  • Page 24 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega169P ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega169P ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega169PA ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega169PA...
  • Page 25 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega3209 ATSTK600-RC107 - STK600- ATSTK600-SC16 - STK600- RC048M-107 TQFP48 ATmega324A ATSTK600-RC05 - STK600- ATSTK600-SC01 - STK600-DIP RC040M-5 ATmega324A ATSTK600-RC31 - STK600- ATSTK600-SC06 - STK600- RC044M-31 TQFP44 ATmega324A ATSTK600-RC31 - STK600-...
  • Page 26 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega325P ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega325PA ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega325PA ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega328...
  • Page 27 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega329PA ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega329PA ATSTK600-RC10 - STK600- ATSTK600-SC21 - STK600- RC064M-10 QFN64 ATmega32A ATSTK600-RC05 - STK600- ATSTK600-SC01 - STK600-DIP RC040M-5 ATmega32A ATSTK600-RC31 - STK600-...
  • Page 28 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega48P ATSTK600-RC29 - STK600- ATSTK600-SC10 - STK600- RC032M-29 TQFP32 ATmega48P ATSTK600-RC29 - STK600- ATSTK600-SC12 - STK600- RC032M-29 QFN32 ATmega48P ATSTK600-RC06 - STK600- ATSTK600-SC01 - STK600-DIP RC028M-6 ATmega48PA ATSTK600-RC29 - STK600-...
  • Page 29 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega644PA ATSTK600-RC31 - STK600- ATSTK600-SC06 - STK600- RC044M-31 TQFP44 ATmega644PA ATSTK600-RC31 - STK600- ATSTK600-SC45 - STK600- RC044M-31 QFN44 ATmega645 ATSTK600-RC10 - STK600- ATSTK600-SC02 - STK600- RC064M-10 TQFP64 ATmega645...
  • Page 30 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATmega64A ATSTK600-RC09 - STK600- ATSTK600-SC21 - STK600- RC064M-9 QFN64 ATmega64C1 ATSTK600-RC22 - STK600- ATSTK600-SC10 - STK600- RCPWM-22 TQFP32 ATmega64M1 ATSTK600-RC22 - STK600- ATSTK600-SC10 - STK600- RCPWM-22 TQFP32 ATmega8...
  • Page 31 ATSTK600-SC11 - STK600-SOIC RC014T-102 ATtiny104 ATSTK600-RC102 - STK600- ATSTK600-SC11 - STK600-SOIC RC014T-102 ATtiny11 ATSTK600-RC02 - STK600-RC008T-2 ATSTK600-SC01 - STK600-DIP ATtiny12 ATSTK600-RC02 - STK600-RC008T-2 ATSTK600-SC01 - STK600-DIP ATtiny13 ATSTK600-RC02 - STK600-RC008T-2 ATSTK600-SC01 - STK600-DIP ATtiny13A ATSTK600-RC02 - STK600-RC008T-2 ATSTK600-SC01 - STK600-DIP...
  • Page 32 ATSTK600-RC104 - STK600- ATSTK600-SC11 - STK600-SOIC RC020T-104 ATtiny214 ATSTK600-RC104 - STK600- ATSTK600-SC11 - STK600-SOIC RC020T-104 ATtiny2313 ATSTK600-RC01 - STK600-RC020T-1 ATSTK600-SC01 - STK600-DIP ATtiny2313A ATSTK600-RC01 - STK600-RC020T-1 ATSTK600-SC01 - STK600-DIP ATtiny24 ATSTK600-RC12 - STK600- ATSTK600-SC01 - STK600-DIP RC014T-12 ATtiny24 ATSTK600-RC46 - STK600-...
  • Page 33 ATSTK600-RC104 - STK600- ATSTK600-SC11 - STK600-SOIC RC020T-104 ATtiny417 ATSTK600-RC103 - STK600- ATSTK600-SC62 - STK600- RC024T-103 QFN24 ATtiny4313 ATSTK600-RC01 - STK600-RC020T-1 ATSTK600-SC01 - STK600-DIP ATtiny43U ATSTK600-Tinyx3U - STK600- TINYX3U ATtiny44 ATSTK600-RC12 - STK600- ATSTK600-SC01 - STK600-DIP RC014T-12 ATtiny44 ATSTK600-RC46 - STK600-...
  • Page 34 ATSTK600-SC01 - STK600-DIP RC014T-12 ATtiny84A ATSTK600-RC46 - STK600- ATSTK600-SC11 - STK600-SOIC RC014T-46 ATtiny85 ATSTK600-RC02 - STK600-RC008T-2 ATSTK600-SC01 - STK600-DIP ATtiny861 ATSTK600-RC08 - STK600-RC020T-8 ATSTK600-SC01 - STK600-DIP ATtiny861A ATSTK600-RC08 - STK600-RC020T-8 ATSTK600-SC01 - STK600-DIP ATtiny87 ATSTK600-RC23 - STK600- ATSTK600-SC11 - STK600-SOIC...
  • Page 35 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATxmega128A1U ATSTK600-RC13 - STK600- ATSTK600-SC03 - STK600- since rev.10 RC100X-13 TQFP100 (A09-0117.10) ATxmega128A3 ATSTK600-RC14 - STK600- ATSTK600-SC02 - STK600- RC064X-14 TQFP64 ATxmega128A3 ATSTK600-RC51 - STK600- ATSTK600-SC02 - STK600-...
  • Page 36 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATxmega16A4 ATSTK600-RC15 - STK600- ATSTK600-SC45 - STK600- RC044X-15 QFN44 ATxmega16A4U ATSTK600-RC55 - STK600- ATSTK600-SC06 - STK600- RC044X-55 TQFP44 ATxmega16A4U ATSTK600-RC55 - STK600- ATSTK600-SC45 - STK600- RC044X-55 QFN44 ATxmega16C4...
  • Page 37 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATxmega256A3 ATSTK600-RC14 - STK600- ATSTK600-SC21 - STK600- RC064X-14 QFN64 ATxmega256A3 ATSTK600-RC51 - STK600- ATSTK600-SC21 - STK600- RC064X-51 QFN64 ATxmega256A3B ATSTK600-RC14 - STK600- ATSTK600-SC02 - STK600- RC064X-14 TQFP64 ATxmega256A3B...
  • Page 38 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATxmega32C3 ATSTK600-RC51 - STK600- ATSTK600-SC21 - STK600- RC064X-51 QFN64 ATxmega32C4 ATSTK600-RC55 - STK600- ATSTK600-SC06 - STK600- RC044X-55 TQFP44 ATxmega32C4 ATSTK600-RC55 - STK600- ATSTK600-SC45 - STK600- RC044X-55 QFN44 ATxmega32D3...
  • Page 39 STK600 Starter Kit Device Support ...continued Device Routing Card Socket Card Comment ATxmega64A3 ATSTK600-RC14 - STK600- ATSTK600-SC21 - STK600- RC064X-14 QFN64 ATxmega64A3 ATSTK600-RC51 - STK600- ATSTK600-SC21 - STK600- RC064X-51 QFN64 ATxmega64A3U ATSTK600-RC51 - STK600- ATSTK600-SC02 - STK600- RC064X-51 TQFP64 ATxmega64A3U...
  • Page 40: Getting Started

    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.
  • Page 41: Connecting The Hardware

    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.
  • Page 42: Target Socket System

    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 43 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.
  • Page 44: Selecting The Correct Routing And Socket Cards

    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.
  • Page 45 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 the...
  • Page 46 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. It is easiest to do two opposite clips before locking the last two.
  • Page 47 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 48 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 49 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.
  • Page 50: Signal Integrity

    The signal integrity is not optimized due to this. 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 51 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...
  • Page 52 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA13 PA14 PB6, MOSI PA15 PB7, SCK PA16 PA17 PA18 XTAL1, PC2 PA19 PC3, XTAL2 PA20 PA21 PA22 PA23 PA24 PA25 PD1, MISO PA26 PA27 RESET RESET...
  • Page 53 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name VDDPLL STK600-RCUC3A100-28 Device Pin Name STK600 Pin Name PA00 PA01 PA02 PA03 PA04 PA05 PA06 PA07 PA08 PA09 PA10 PA11 PB3, MISO PA12 PB4, MOSI PA13 PB5, SCK...
  • Page 54 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA31 PB00 PB01 PB02 PB03 PB04 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PB14 PB15 PB16 PB17 PB18 PB19 PB20 PB21 PB22 PB23 PB24 PB25...
  • Page 55 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PC02 XTAL1 PC03 XTAL2 PC04 PC05 AREF0 AREF0 RESET RESET VBUS VBUST VDDANA VDDCORE VDDIN VDDPLL STK600-RCUC3A144-32 Device Pin Name STK600 Pin Name PA00 PA01 PA02 PA03...
  • Page 56 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 PA30 PA31 PB00 PB01 PB02 PB03 PB04 PB05 PB06 PB07 PB08...
  • Page 57 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PC05 PX00 PX01 PX02 PX03 PX04 PX05 PX06 PX07 PX08 PX09 PX10 PX11 PX12 PX13 PX14 PX15 PX16 PX17 PX18 PX19 PX20 PX21 PX22 PX23 PX24 PX25...
  • Page 58 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PX34 PX35 PX36 PX37 PX38 PX39 PX40 PX41 PX42 PX43 PX44 PX45 PX46 PX47 PX48 PX49 PX50 PX51 PX52 PX53 PX54 PX55 PX56 PX57 PX58 PX59 RESET_N...
  • Page 59 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name FSDP VDDANA VDDCORE VDDIN STK600-RCUC3A144-33 Device Pin Name STK600 Pin Name PA00 PA01 PA02 PA03 PA04 PA05 PA06 PA07 PA08 PA09 PA10 PA11 PB3, MISO PA12 PB4, MOSI...
  • Page 60 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA27 PD3, PL5 PA28 PD4, PL6 PA29 PA30 PB00 PB01 PB02 PB03 PB04 PE4, PP3 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PB14 PB15 PB16...
  • Page 61 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PB31 PH7, PP6 PC00 TOSC1 PC01 TOSC2 PC02 XTAL1 PC03 XTAL2 PC04 PC05 PX00 PX01 PX02 PX03 PX04 PX05 PX06 PX07 PX08 PX09 PX10 PX11 PX12 PX13...
  • Page 62 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PX28 PX29 PX30 PX31 PX32 PX33 PX34 PX35 PX36 PX37 PX38 PX39 RESET_N RESET VBUS VBUST ADVREF AREF0 VDDANA VDDCORE VDDIN STK600-RCUC3L0-34 Device Pin Name STK600 Pin Name...
  • Page 63 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA07 PA08 PB0, XTAL1 PA09 PB1, XTAL2 PA10 PB2, PH1 PA11 PA12 PA13 PB5, PH3 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PB00 PB01 PB02...
  • Page 64 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name GNDANA STK600-RCUC3C0-36 Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01 PA1, TDI PA02 PA2, TDO PA03 PA3, TMS PA04 PA05 PA06 PA07 PA08 PA09 PA10...
  • Page 65 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA29 PB00 PE0, TOSC1 PB01 PE1, TOSC2 PB02 PB03 PB04 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PB14 PB15 PB16 PB17 PB18 PB19 PB20 PB21...
  • Page 66 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PC02 PC03 PC04 PC05 PC06 PC07 PC08 PC09 PC10 PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28...
  • Page 67 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PD05 PD06 PD07 PD08 PD09 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 PD18 PD19 PD20 PD21 PD22 PD23 PD24 PDATA0 PD25 PDATA1 PD26 PDATA2 PD27 PDATA3...
  • Page 68 STK600 Starter Kit Target Socket System Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01 PA1, TDI PA02 PA2, TDO PA03 PA3, TMS PA04 PA05 PA06 PA07 PA08 PA09 PA10 PA11 PB3, AREF1 PA12 PA13 PA14 PA15 PA16 PC0, AREF0...
  • Page 69 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PB22 PB23 PB30 PH6, XTAL1 PB31 PH7, XTAL2 PC00 PC01 PJ1, UVCON PC02 PC03 PC04 PC05 PC06 PC07 PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19...
  • Page 70 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PD11 PD12 PD13 PD14 PD21 PD22 PD23 PD24 PDATA0 PD27 PDATA3 PD28 PDATA4 PD29 PDATA5 PD30 PDATA6 RESET MISO, RESET VBUS VBUST VDDANA VDDCORE VDDIN STK600-RCUC3C2-40 Device Pin Name...
  • Page 71 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA18 PA19 PA20 PA21 PA22 PA23 PB00 PE0, TOSC1 PB01 PE1, TOSC2 PB30 PH6, XTAL1 PB31 PH7, XTAL2 PC02 PC03 PC04 PC05 PC15 PC16 PC17 PC18 PC19...
  • Page 72 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name RESET MISO, RESET VBUS VBUST VDDANA VDDCORE VDDIN STK600-RCUC3L3U-47 Device Pin Name STK600 Pin Name PA00 TCK, PA0 PA01 PA1, TMS PA02 PA2, TDO PA03 PA3, TDI...
  • Page 73 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PB01 PB02 PB03 PB04 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PE5, DN PB14 PE6, DP PB15 PB16 PB17 PB18 PB19 PB20 PB21 PB22 PB23...
  • Page 74 STK600 Starter Kit Target Socket System Device Pin Name STK600 Pin Name PA0, TDI PA10 PA11 PB3, TOSC1 PA12 PB4, TOSC2 PA13 PA14 PA15 PA16 PA17 PA18 PC2, XTAL1 PA19 PC3, XTAL2 PA1, TDO PA20 PA21 PA22 PA23 PA24 PA25...
  • Page 75 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PB13 PB14 PB15 PB16 PG0, VBUST PB17 PB18 RESET MISO, RESET AREF0 AREF0 VDDANA VDDCORE VDDIN VDDOUT STK600-RCUC3D4-49 Device Pin Name STK600 Pin Name PA00 PA0, TDI...
  • Page 76 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name PA08 PA09 PA10 PA11 PB3, TOSC1 PA12 PB4, TOSC2 PA13 PA14 PA15 PA16 PA17 PA18 PC2, XTAL1 PA19 PC3, XTAL2 PA20 PA21 PA22 PA23 PA24 PA25 PA26...
  • Page 77 STK600 Starter Kit Target Socket System ...continued Device Pin Name STK600 Pin Name STK600-RCUC3L4U-53 Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01 PA1, TMS PA02 PA2, TDO PA03 PA3, TDI PA04 PA05 PA06 PA6, VBUST PA08 PB0, XTAL1...
  • Page 78: Sam Routing Cards

    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.
  • Page 79: Hardware Description

    Target Voltage VTG The VTG voltage is the supply voltage to the target AVR microcontroller. It is connected to the AVR device VCC pin. VTG can either be generated by STK600, or be supplied from an external source. User Guide 40001904D-page 79 ©...
  • Page 80: Analog Reference Voltages

    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 81 VTG value from the programming dialog in Atmel 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 Atmel Studio.
  • Page 82: Reset Control

    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.
  • Page 83: Port Connectors

    STK600 Starter Kit Hardware Description 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 Reset Line when programming an external target. Port Connectors All I/O port pins on the target AVR device mounted on the STK600 are available on port pin connectors.
  • Page 84: Leds And Switches

    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.
  • Page 85: Clock Settings

    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 86 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...
  • Page 87: User Rs-232 Interface

    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.
  • Page 88: Dataflash Nonvolatile Memory

    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.
  • Page 89: Expansion Connectors

    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 90 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.
  • Page 91 STK600 Starter Kit Hardware Description ...continued EXPAND0 EXPAND1 VEXT VEXT PDATA0 PDATA1 PDATA2 PDATA3 XTAL1 AREF0 PDATA4 PDATA5 XTAL2 AREF1 PDATA6 PDATA7 MOSI PCTRL0 PCTRL1 TOSC1 MISO PCTRL2 PCTRL3 TOSC2 PCTRL4 PCTRL5 TGT_RST PCTRL6 PCTRL7 VCC6 VCC3 B_ID0 B_ID1 User Guide 40001904D-page 91 ©...
  • Page 92: User Usb Connector

    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.
  • Page 93: Can Transceiver

    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 bus connection.
  • Page 94 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.
  • Page 95: Lin Transceiver

    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.
  • Page 96: Miscellaneous

    Future versions of Atmel Studio may upgrade the master MCU on STK600. Atmel Studio will then detect old software versions of STK600 and update the Flash program memory of the master MCU. To do this, the user is required to push the PROGRAM button when powering on STK600.
  • Page 97: Programming

    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 Atmel Studio.
  • Page 98: Parallel High-Voltage Programming

    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 99: Serial High-Voltage Programming

    STK600 Starter Kit Programming See the Programming Dialog pages in the Atmel 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 100 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.
  • Page 101: Jtag Programming

    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.
  • Page 102: Pdi Programming

    All AVR XMEGA devices have the new PDI programming and debugging interface. It can, in-system, download code into the Flash application and boot memories, EEPROM memory, fuses, lock-bits, and signature information. 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.
  • Page 103: Updi Programming

    STK600 Starter Kit Programming 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 104 STK600 Starter Kit Programming 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 105: Awire Programming

    Some AVR UC3 devices have the aWire programming and debugging interface. It can, in-system, download code into the memories. The aWire interface requires only the reset pins for serial communication. On STK600, it is found on the ISP/PDI or the JTAG connector.
  • Page 106: Tpi Programming

    STK600 Starter Kit Programming The pinout of the 10-pin JTAG header is shown below: TPI Programming The TPI (Tiny Programming Interface) found on some tinyAVR devices can download code into the memories of these devices. User Guide 40001904D-page 106 ©...
  • 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.
  • Page 108: In-System Programming Of An External Target System

    In-System Programming of an External Target System 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.
  • 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.
  • Page 111: Command-Line Utility

    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.
  • Page 112: Troubleshooting And Support

    • 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 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 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 114 Slave MCU not responding Force STK600 into Bootloader mode, and perform a firmware upgrade The LEDs do not work (running STK600 must be powered for Supply power to STK600 and turn it ON from external VTarget) LEDs to work User Guide 40001904D-page 114 ©...
  • Page 115: Routing And Socket Card Issues

    For information on how to upgrade the firmware, see the Atmel Studio user guide. 9.4.1 Manual Firmware Upgrade If an automatic firmware upgrade fails, or for some other reason connection to STK600 cannot be established, a manual firmware upgrade may solve the problem. User Guide 40001904D-page 115 ©...
  • Page 116 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.
  • Page 117: Revision History

    STK600 Starter Kit Revision History Revision History Doc Rev. Date Comments 08/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.
  • Page 118: The Microchip Website

    STK600 Starter Kit The Microchip Website Microchip provides online support via our website at http://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 •...
  • Page 119: Trademarks

    The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom 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.
  • Page 120: Worldwide Sales And Service

    New York, NY Tel: 46-31-704-60-40 Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078 User Guide 40001904D-page 120 © 2019 Microchip Technology Inc.

Table of Contents