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

®
Thank you for purchasing the STK600 AVR
Flash MCU Starter Kit. The STK600 is a complete starter kit
and development system for the AVR Flash microcontroller. It is designed to give designers a quick start
to develop 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 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.
User Guide
40001904A-page 1
©
2017 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 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.
  • Page 2: Table Of Contents

    Mounting the Cards........................30 5.5. Signal Integrity..........................37 5.6. AVR UC3 Routing Card Pin Mapping..................37 5.7. SAM Routing Cards........................67 6. Hardware Description....................68 6.1. STK600 Block Diagram......................68 6.2. Target Voltage VTG........................68 6.3. Analog Reference Voltages......................69 6.4. RESET Control...........................71 6.5. Port Connectors......................... 72 6.6.
  • Page 3 STK600 Starter Kit 7.8. TPI Programming........................98 7.9. In-System Programming of an External Target System............100 8. Command Line Utility.................... 103 9. Troubleshooting and Support................104 9.1. Troubleshooting Guide......................104 9.2. Routing and Socket Card Issues....................106 9.3. Technical Support........................107 9.4.
  • Page 4: Features

    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) •...
  • Page 5: Known Issues

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

    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.
  • Page 7 STK600 Starter Kit Device Routing Card Socket Card Comment AT32UC3C0128C ATSTK600-RC36 ATSTK600-SC19 AT32UC3C0256C ATSTK600-RC36 ATSTK600-SC19 AT32UC3C0512C ATSTK600-RC36 ATSTK600-SC19 AT32UC3C064C ATSTK600-RC36 ATSTK600-SC19 AT32UC3C1128C ATSTK600-RC38 ATSTK600-SC03 AT32UC3C1256C ATSTK600-RC38 ATSTK600-SC03 AT32UC3C1512C ATSTK600-RC38 ATSTK600-SC03 AT32UC3C164C ATSTK600-RC38 ATSTK600-SC03 AT32UC3C2128C ATSTK600-RC40 ATSTK600-SC14 AT32UC3C2128C ATSTK600-RC40 ATSTK600-SC21 AT32UC3C2256C...
  • Page 8 ATSTK600-RC17 ATSTK600-SC21 AT90USB82 ATSTK600-RC20 ATSTK600-SC12 AT90USB82 ATSTK600-RC20 ATSTK600-SC10 ATSAMC21N17A ATSTK600-RC105 ATSTK600-SC03 Breakout board only. STK600 cannot program this device ATSAMC21N18A ATSTK600-RC105 ATSTK600-SC03 Breakout board only. STK600 cannot program this device ATSAMD20E14 ATSTK600-RC79 ATSTK600-SC12 Breakout board only. STK600 cannot program this device.
  • Page 9 STK600 Starter Kit Device Routing Card Socket Card Comment ATSAMD20E16 ATSTK600-RC79 ATSTK600-SC10 Breakout board only. STK600 cannot program this device. ATSAMD20E17 ATSTK600-RC79 ATSTK600-SC12 Breakout board only. STK600 cannot program this device. ATSAMD20E17 ATSTK600-RC79 ATSTK600-SC10 Breakout board only. STK600 cannot program this device.
  • Page 10 STK600 Starter Kit Device Routing Card Socket Card Comment ATSAMD20J16 ATSTK600-RC72 ATSTK600-SC21 Breakout board only. STK600 cannot program this device. ATSAMD20J17 ATSTK600-RC72 ATSTK600-SC14 Breakout board only. STK600 cannot program this device. ATSAMD20J17 ATSTK600-RC72 ATSTK600-SC21 Breakout board only. STK600 cannot program this device.
  • Page 11 STK600 Starter Kit Device Routing Card Socket Card Comment ATSAMD21G15B ATSTK600-RC88 ATSTK600-SC41 Breakout board only. STK600 cannot program this device. ATSAMD21G16A ATSTK600-RC88 ATSTK600-SC16 Breakout board only. STK600 cannot program this device. ATSAMD21G16A ATSTK600-RC88 ATSTK600-SC41 Breakout board only. STK600 cannot program this device.
  • Page 12 STK600 Starter Kit Device Routing Card Socket Card Comment ATSAMD21J17A ATSTK600-RC87 ATSTK600-SC21 Breakout board only. STK600 cannot program this device. ATSAMD21J18A ATSTK600-RC87 ATSTK600-SC14 Breakout board only. STK600 cannot program this device. ATSAMD21J18A ATSTK600-RC87 ATSTK600-SC21 Breakout board only. STK600 cannot program this device.
  • Page 13 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega1284 ATSTK600-RC31 ATSTK600-SC45 ATmega1284P ATSTK600-RC05 ATSTK600-SC01 ATmega1284P ATSTK600-RC31 ATSTK600-SC06 ATmega1284P ATSTK600-RC31 ATSTK600-SC45 ATmega128A ATSTK600-RC09 ATSTK600-SC02 ATmega128A ATSTK600-RC09 ATSTK600-SC21 ATmega128RFA1 ATAVR128RFA1- ATmega16 ATSTK600-RC05 ATSTK600-SC01 ATmega16 ATSTK600-RC31 ATSTK600-SC06 ATmega16 ATSTK600-RC31 ATSTK600-SC45 ATmega162 ATSTK600-RC30...
  • Page 14 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega168A ATSTK600-RC29 ATSTK600-SC12 ATmega168A ATSTK600-RC06 ATSTK600-SC01 ATmega168P ATSTK600-RC29 ATSTK600-SC10 ATmega168P ATSTK600-RC29 ATSTK600-SC12 ATmega168P ATSTK600-RC06 ATSTK600-SC01 ATmega168PA ATSTK600-RC29 ATSTK600-SC10 ATmega168PA ATSTK600-RC29 ATSTK600-SC12 ATmega168PA ATSTK600-RC06 ATSTK600-SC01 ATmega168PB ATSTK600-RC91 ATSTK600-SC10 ATmega168PB ATSTK600-RC91 ATSTK600-SC12 ATmega169A...
  • Page 15 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega32 ATSTK600-RC31 ATSTK600-SC06 ATmega32 ATSTK600-RC31 ATSTK600-SC45 ATmega324A ATSTK600-RC05 ATSTK600-SC01 ATmega324A ATSTK600-RC31 ATSTK600-SC06 ATmega324A ATSTK600-RC31 ATSTK600-SC45 ATmega324P ATSTK600-RC05 ATSTK600-SC01 ATmega324P ATSTK600-RC31 ATSTK600-SC06 ATmega324P ATSTK600-RC31 ATSTK600-SC45 ATmega324PA ATSTK600-RC05 ATSTK600-SC01 ATmega324PA ATSTK600-RC31 ATSTK600-SC06 ATmega324PA...
  • Page 16 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega328PB ATSTK600-RC91 ATSTK600-SC12 ATmega329 ATSTK600-RC10 ATSTK600-SC02 ATmega329 ATSTK600-RC10 ATSTK600-SC21 ATmega3290 ATSTK600-RC18 ATSTK600-SC03 ATmega3290A ATSTK600-RC18 ATSTK600-SC03 ATmega3290P ATSTK600-RC18 ATSTK600-SC03 ATmega3290PA ATSTK600-RC18 ATSTK600-SC03 ATmega329A ATSTK600-RC10 ATSTK600-SC02 ATmega329A ATSTK600-RC10 ATSTK600-SC21 ATmega329P ATSTK600-RC10 ATSTK600-SC02 ATmega329P...
  • Page 17 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega48P ATSTK600-RC06 ATSTK600-SC01 ATmega48PA ATSTK600-RC29 ATSTK600-SC10 ATmega48PA ATSTK600-RC29 ATSTK600-SC12 ATmega48PA ATSTK600-RC06 ATSTK600-SC01 ATmega48PB ATSTK600-RC91 ATSTK600-SC10 ATmega48PB ATSTK600-RC91 ATSTK600-SC12 ATmega64 ATSTK600-RC09 ATSTK600-SC02 ATmega64 ATSTK600-RC09 ATSTK600-SC21 ATmega640 ATSTK600-RC11 ATSTK600-SC03 ATmega644 ATSTK600-RC05 ATSTK600-SC01 ATmega644...
  • Page 18 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega6490 ATSTK600-RC18 ATSTK600-SC03 ATmega6490A ATSTK600-RC18 ATSTK600-SC03 ATmega6490P ATSTK600-RC18 ATSTK600-SC03 ATmega649A ATSTK600-RC10 ATSTK600-SC02 ATmega649A ATSTK600-RC10 ATSTK600-SC21 ATmega649P ATSTK600-RC10 ATSTK600-SC02 ATmega649P ATSTK600-RC10 ATSTK600-SC21 ATmega64A ATSTK600-RC09 ATSTK600-SC02 ATmega64A ATSTK600-RC09 ATSTK600-SC21 ATmega64C1 ATSTK600-RC22 ATSTK600-SC10 ATmega64M1...
  • Page 19 STK600 Starter Kit Device Routing Card Socket Card Comment ATmega88PB ATSTK600-RC91 ATSTK600-SC10 ATmega88PB ATSTK600-RC91 ATSTK600-SC12 ATmega8A ATSTK600-RC29 ATSTK600-SC10 ATmega8A ATSTK600-RC29 ATSTK600-SC12 ATmega8A ATSTK600-RC06 ATSTK600-SC01 ATmega8U2 ATSTK600-RC20 ATSTK600-SC12 ATmega8U2 ATSTK600-RC20 ATSTK600-SC10 ATtiny10 ATSTK600- ATTINY10 ATtiny102 ATSTK600-RC102 ATSTK600-SC11 ATtiny104 ATSTK600-RC102 ATSTK600-SC11 ATtiny11...
  • Page 20 STK600 Starter Kit Device Routing Card Socket Card Comment ATtiny4 ATSTK600- ATTINY10 ATtiny40 ATSTK600-RC44 ATSTK600-SC11 ATtiny414 ATSTK600-RC104 ATSTK600-SC11 ATtiny416 ATSTK600-RC104 ATSTK600-SC11 ATtiny417 ATSTK600-RC103 ATSTK600-SC62 ATtiny4313 ATSTK600-RC01 ATSTK600-SC01 ATtiny43U ATSTK600- Tinyx3U ATtiny44 ATSTK600-RC12 ATSTK600-SC01 ATtiny44 ATSTK600-RC46 ATSTK600-SC11 ATtiny441 ATSTK600-RC46 ATSTK600-SC11 ATtiny44A...
  • Page 21 STK600 Starter Kit Device Routing Card Socket Card Comment ATtiny861 ATSTK600-RC08 ATSTK600-SC01 ATtiny861A ATSTK600-RC08 ATSTK600-SC01 ATtiny87 ATSTK600-RC23 ATSTK600-SC11 ATtiny88 ATSTK600-RC06 ATSTK600-SC01 ATtiny88 ATSTK600-RC45 ATSTK600-SC10 ATtiny88 ATSTK600-RC45 ATSTK600-SC12 ATtiny9 ATSTK600- ATTINY10 ATxmega128A1 ATSTK600-RC13 ATSTK600-SC03 ATxmega128A1 ATSTK600-RC13 ATSTK600-SC03 ATxmega128A1U ATSTK600-RC13 ATSTK600-SC03 since rev.10 (A09-0117/10)
  • Page 22 STK600 Starter Kit Device Routing Card Socket Card Comment ATxmega16A4 ATSTK600-RC15 ATSTK600-SC45 ATxmega16A4U ATSTK600-RC55 ATSTK600-SC06 ATxmega16A4U ATSTK600-RC55 ATSTK600-SC45 ATxmega16C4 ATSTK600-RC55 ATSTK600-SC06 ATxmega16C4 ATSTK600-RC55 ATSTK600-SC45 ATxmega16D4 ATSTK600-RC15 ATSTK600-SC06 ATxmega16D4 ATSTK600-RC15 ATSTK600-SC45 ATxmega16E5 ATSTK600-RC64 ATSTK600-SC10 ATxmega16E5 ATSTK600-RC64 ATSTK600-SC12 ATxmega192A3 ATSTK600-RC14 ATSTK600-SC02 ATxmega192A3...
  • Page 23 STK600 Starter Kit Device Routing Card Socket Card Comment ATxmega256C3 ATSTK600-RC51 ATSTK600-SC02 ATxmega256C3 ATSTK600-RC51 ATSTK600-SC21 ATxmega256D3 ATSTK600-RC14 ATSTK600-SC02 ATxmega256D3 ATSTK600-RC14 ATSTK600-SC21 ATxmega32A4 ATSTK600-RC55 ATSTK600-SC06 ATxmega32A4 ATSTK600-RC55 ATSTK600-SC45 ATxmega32A4 ATSTK600-RC15 ATSTK600-SC06 ATxmega32A4 ATSTK600-RC15 ATSTK600-SC45 ATxmega32A4U ATSTK600-RC55 ATSTK600-SC06 ATxmega32A4U ATSTK600-RC55 ATSTK600-SC45 ATxmega32C3...
  • Page 24 STK600 Starter Kit Device Routing Card Socket Card Comment ATxmega64A3 ATSTK600-RC14 ATSTK600-SC21 ATxmega64A3 ATSTK600-RC51 ATSTK600-SC21 ATxmega64A3U ATSTK600-RC51 ATSTK600-SC02 ATxmega64A3U ATSTK600-RC51 ATSTK600-SC21 ATxmega64A4U ATSTK600-RC55 ATSTK600-SC06 ATxmega64A4U ATSTK600-RC55 ATSTK600-SC45 ATxmega64B1 ATSTK600-RC50 ATSTK600-SC03 ATxmega64B3 ATSTK600-RC52 ATSTK600-SC21 ATxmega64B3 ATSTK600-RC52 ATSTK600-SC02 ATxmega64C3 ATSTK600-RC51 ATSTK600-SC02 ATxmega64C3...
  • Page 25: Getting Started

    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.
  • Page 26: 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 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.
  • Page 27: 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 28 STK600 Starter Kit 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. User Guide 40001904A-page 28 ©...
  • Page 29: 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. More information on the programming dialog can be found in the Programming Dialog pages in the Atmel Studio help.
  • Page 30: Mounting The Cards

    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 33 STK600 Starter Kit User Guide 40001904A-page 33 © 2017 Microchip Technology Inc.
  • 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.
  • Page 37: 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 socket programmer with some additional peripheral hardware to get started with the AVR device. Serial communication at the highest frequencies may not work.
  • Page 38 STK600 Starter Kit Device Pin Name STK600 Pin Name PB10 PB11 RESET RESET AREF0 AREF0 VBUS VBUST VDDANA VDDCORE VDDIN VDDOUT VDDPLL User Guide 40001904A-page 38 © 2017 Microchip Technology Inc.
  • Page 39 STK600 Starter Kit STK600-RCUC3B48-27 Device Pin Name STK600 Pin Name PA10 PA11 PB3, TOSC1 PA12 TOSC2, PB4 PA13 PA14 PB6, MOSI PA15 PB7, SCK PA16 PA17 PA18 XTAL1, PC2 PA19 PC3, XTAL2 PA20 PA21 PA22 PA23 PA24 PA25 PD1, MISO...
  • Page 40 STK600 Starter Kit Device Pin Name STK600 Pin Name VBUS VBUST VDDANA VDDCORE VDDIN VDDOUT 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...
  • Page 41 STK600 Starter Kit Device Pin Name STK600 Pin Name PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 PA31 PB00 PB01 PB02 PB03 PB04 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PB14 PB15 PB16 PB17 PB18 PB19 PB20...
  • Page 42 STK600 Starter Kit Device Pin Name STK600 Pin Name PB22 PB23 PB24 PB25 PB26 PB27 PB28 PB29 PB30 PB31 PC00 TOSC1 PC01 TOSC2 PC02 XTAL1 PC03 XTAL2 PC04 PC05 AREF0 AREF0 RESET RESET VBUS VBUST VDDANA VDDCORE VDDIN VDDPLL STK600-RCUC3A144-32...
  • Page 43 STK600 Starter Kit Device Pin Name STK600 Pin Name PA00 PA01 PA02 PA03 PA04 PA05 PA06 PA6, UVCON PA07 PA08 PB0, SCK PA09 PA10 PB2, MOSI PA11 PB3, MISO PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22...
  • Page 44 STK600 Starter Kit Device Pin Name STK600 Pin Name PB00 PB01 PB02 PB03 PB04 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PC00 TOSC1, PG0 PC01 TOSC2, PG1 PC02 XTAL1, PG2 PC03 XTAL2, PG3 PC04 PC05 PX00 PX01 PX02 PX03 PX04...
  • Page 45 STK600 Starter Kit Device Pin Name STK600 Pin Name PX14 PX15 PX16 PX17 PX18 PX19 PX20 PX21 PX22 PX23 PX24 PX25 PX26 PX27 PX28 PX29 PX30 PX31 PX32 PX33 PX34 PX35 PX36 PX37 PX38 PX39 PX40 PX41 PX42 PX43 PX44...
  • Page 46 STK600 Starter Kit Device Pin Name STK600 Pin Name PX46 PX47 PX48 PX49 PX50 PX51 PX52 PX53 PX54 PX55 PX56 PX57 PX58 PX59 RESET_N RESET USB_VBUS VBUST FSDM FSDP VDDANA VDDCORE VDDIN STK600-RCUC3A144-33 Device Pin Name STK600 Pin Name PA00...
  • Page 47 STK600 Starter Kit Device Pin Name STK600 Pin Name PA02 PA03 PA04 PA05 PA06 PA07 PA08 PA09 PA10 PA11 PB3, MISO PA12 PB4, MOSI PA13 PB5, SCK PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PD1, PP0...
  • Page 48 STK600 Starter Kit Device Pin Name STK600 Pin Name PB03 PB04 PE4, PP3 PB05 PB06 PB07 PB08 PB09 PB10 PB11 PB12 PB13 PB14 PB15 PB16 PB17 PG1, UVCON, PL7 PB18 PB19 PB20 PB21 PB22 PB23 PB24 PB25 PB26 PB27 PB28...
  • Page 49 STK600 Starter Kit Device Pin Name STK600 Pin Name PC03 XTAL2 PC04 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 PX26...
  • Page 50 STK600 Starter Kit Device Pin Name STK600 Pin Name 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 PA00 PA0, TCK PA01...
  • Page 51 STK600 Starter Kit Device Pin Name STK600 Pin Name PA06 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 PB03 PB04 PB05...
  • Page 52 STK600 Starter Kit Device Pin Name STK600 Pin Name VDDIN VDDCORE VDDIO VDDANA 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 53 STK600 Starter Kit Device Pin Name STK600 Pin Name PA23 PA24 PA25 PA26 PA27 PA28 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...
  • Page 54 STK600 Starter Kit Device Pin Name STK600 Pin Name PB25 PB26 PB27 PB28 PB29 PB30 PH6, XTAL1 PB31 PH7, XTAL2 PC00 PC01 PJ1, UVCON PC02 PC03 PC04 PC05 PC06 PC07 PC08 PC09 PC10 PC11 PC12 PC13 PC14 PC15 PC16 PC17...
  • Page 55 STK600 Starter Kit Device Pin Name STK600 Pin Name PC25 PC26 PC27 PC28 PC29 PC30 PC31 PD00 PD01 PD02 PD03 PD04 PD05 PD06 PD07 PD08 PD09 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 PD18 PD19 PD20 PD21 PD22 PD23...
  • Page 56 STK600 Starter Kit Device Pin Name STK600 Pin Name PD25 PDATA1 PD26 PDATA2 PD27 PDATA3 PD28 PDATA4 PD29 PDATA5 PD30 PDATA6 RESET MISO, RESET VBUS VBUST VDDANA VDDCORE VDDIN STK600-RCUC3C1-38 Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01...
  • Page 57 STK600 Starter Kit Device Pin Name STK600 Pin Name PA16 PC0, AREF0 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PB00 PE0, TOSC1 PB01 PE1, TOSC2 PB02 PB03 PB04 PB05 PB06 PB19 PB20 PB21 PB22 PB23 PB30 PH6, XTAL1...
  • Page 58 STK600 Starter Kit Device Pin Name STK600 Pin Name PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PC23 PC24 PC31 PD00 PD01 PD02 PD03 PD07 PD08 PD09 PD10 PD11 PD12 PD13 PD14 PD21 PD22 PD23 PD24...
  • Page 59 STK600 Starter Kit Device Pin Name STK600 Pin Name PD28 PDATA4 PD29 PDATA5 PD30 PDATA6 RESET MISO, RESET VBUS VBUST VDDANA VDDCORE VDDIN STK600-RCUC3C2-40 Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01 PA1, TDI PA02 PA2, TDO PA03...
  • Page 60 STK600 Starter Kit Device Pin Name STK600 Pin Name PB01 PE1, TOSC2 PB30 PH6, XTAL1 PB31 PH7, XTAL2 PC02 PC03 PC04 PC05 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PD00 PD01 PD02 PD03 PD11 PD12 PP4, UVCON PD13 PD14...
  • Page 61 STK600 Starter Kit Device Pin Name STK600 Pin Name VDDANA VDDCORE VDDIN STK600-RCUC3L3U-47 Device Pin Name STK600 Pin Name PA00 TCK, PA0 PA01 PA1, TMS PA02 PA2, TDO PA03 PA3, TDI PA04 PA05 PA06 PA07 PA08 PB0, XTAL1 PA09 PB1, XTAL2...
  • Page 62 STK600 Starter Kit Device Pin Name STK600 Pin Name 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 PB24 PB25 PB26 PB27 RESET MISO, RESET...
  • Page 63 STK600 Starter Kit 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 PA26 PA27 PA28...
  • Page 64 STK600 Starter Kit Device Pin Name STK600 Pin Name PB10 PB11 PB12 PF4, TCK 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 65 STK600 Starter Kit Device Pin Name STK600 Pin Name PA02 PA2, TMS PA03 PA04 PA05 PA06 PA07 PA08 PA09 PA10 PA11 PB3, TOSC1 PA12 PB4, TOSC2 PA13 PA14 PA15 PA16 PA17 PA18 PC2, XTAL1 PA19 PC3, XTAL2 PA20 PA21 PA22...
  • Page 66 STK600 Starter Kit Device Pin Name STK600 Pin Name PB18 RESET MISO, RESET AREF0 AREF0 VDDANA VDDCORE VDDIN VDDOUT STK600-RCUC3L4U-53 Device Pin Name STK600 Pin Name PA00 PA0, TCK PA01 PA1, TMS PA02 PA2, TDO PA03 PA3, TDI PA04 PA05...
  • Page 67: Sam Routing Cards

    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.
  • Page 68: 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 40001904A-page 68 ©...
  • Page 69: Analog Reference Voltages

    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”.
  • Page 71: Reset Control

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

    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 73: Leds And Switches

    The TOSC1 pin can easily be connected to the AUX portʼs 32kHz pin (32kHz 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. User Guide 40001904A-page 73 ©...
  • 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.
  • Page 75: 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 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.
  • Page 78: User Rs-232 Interface

    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).
  • Page 79: Dataflash Non-Volatile Memory

    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.
  • Page 81 STK600 Starter Kit EXPAND0 EXPAND1 VEXT VEXT PDATA0 PDATA1 PDATA2 PDATA3 XTAL1 AREF0 PDATA4 PDATA5 XTAL2 AREF1 PDATA6 PDATA7 MOSI PCTRL0 PCTRL1 TOSC1 MISO PCTRL2 PCTRL3 User Guide 40001904A-page 81 © 2017 Microchip Technology Inc.
  • Page 82: User Usb Connector

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

    Controller Area Network (CAN) is a broadcast, differential serial bus standard typically used in the automotive industry. 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 is provided for bus connection. User Guide 40001904A-page 83 ©...
  • Page 84: Lin Transceiver

    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 85: Miscellaneous

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

    Mount the routing and socket card 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 headers on the STK600. See picture below. User Guide 40001904A-page 87 ©...
  • Page 88: Parallel High-Voltage Programming

    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.
  • Page 89: Serial 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 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.
  • Page 91: Jtag Programming

    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. Connect a 10-wire cable between the two 10-pin JTAG headers on the STK600. See the picture below. User Guide 40001904A-page 91 ©...
  • Page 92: Pdi Programming

    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.
  • Page 94: Updi Programming

    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 96: Awire Programming

    STK600 Starter Kit The pinout of the 6-pin ISP/PDI header when in UPDI mode is shown below: aWire Programming Some AVR UC3 devices have the aWire programming and debugging interface. It can, in-system, download code into the memories. User Guide 40001904A-page 96 ©...
  • 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 98: Tpi Programming

    STK600 Starter Kit 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 40001904A-page 98 © 2017 Microchip Technology Inc.
  • 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.
  • Page 100: In-System Programming Of An External Target System

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

    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.
  • Page 106: Routing And Socket Card Issues

    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 107: Technical Support

    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 40001904A-page 107 ©...
  • 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.
  • Page 109: Object Of Declaration

    For information regarding the exclusive, limited warranties applicable to Microchip products, please see Microchip’s standard terms and conditions of sale, which are printed on our sales documentation and available at www.microchip.com. Signed for and on behalf of Microchip Technology Inc. at Chandler, Arizona, USA. User Guide 40001904A-page 109 ©...
  • Page 110: Revision History

    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...
  • Page 111: The Microchip Web Site

    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: •...
  • Page 112: Legal Notice

    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.
  • Page 113: Quality Management System Certified By Dnv

    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 ® ®...
  • Page 114: Worldwide Sales And Service

    Sweden - Stockholm Tel: 408-735-9110 Tel: 86-29-8833-7252 Tel: 66-2-694-1351 Tel: 46-8-5090-4654 Tel: 408-436-4270 Fax: 86-29-8833-7256 Fax: 66-2-694-1350 UK - Wokingham Canada - Toronto Tel: 44-118-921-5800 Tel: 905-695-1980 Fax: 44-118-921-5820 Fax: 905-695-2078 User Guide 40001904A-page 114 © 2017 Microchip Technology Inc.

Table of Contents