background image

STK521 User Guide

2-7

8194B–AVR–01/12

To program the AVR using high-voltage (parallel) programming, connect the PROG_CTRL of the Atmel
STK500 to PRG_CTRL of the Atmel STK521 and PROG_DATA of STK500 to PRG_DATA of STK521
as shown in 

Figure 2-4

. Make sure that the CLOCK switch is placed in the STK500 position.

The STK500 and STK521 jumpers & switches must must be configured as follows :

Table 2-2.  

High-Voltage programming jumper settings for the Atmel AT90PWM81.

Table 2-3.  

High-voltage programming switches settings for AT90PWM81.

The device can now be programmed using the high-voltage programming mode in the Atmel AVR Studio
STK500 software. 

Note:

See the Atmel STK500 User Guide for information on how to use the STK500 front-end software 
in high-voltage programming mode.

For the high-voltage programming mode to function correctly, the target voltage must be higher

than 4.5V.

2.4

Atmel AVR JTAGICE mkII Connector

See the following document :

“JTAGICE mkII Quick Start Guide” which purpose is “Connecting to a target board with the AVR
JTAGICE mkII”.

This note explains which signals are required for ISP and which signals are required for debugWIRE.

Figure 2-5

 shows how to connect the Atmel AVR JTAGICE mkII probe on the STK521 board.

STK500

VTARGET

Mounted

AREF

Open

RESET

Mounted

XTAL1

Mounted

OSCSEL

Mounted, pin 1 and 2

BSEL2

Mounted

PJUMP

Open

STK521

POWER

VTG

CLOCK

STK500

RESET

RST/

Содержание STK521

Страница 1: ...8194B AVR 01 12 STK521 User Guide ...

Страница 2: ... the Atmel STK500 Starter Kit 3 Powering the STK521 4 Programming the AVR 5 Atmel AVR JTAGICE mkII Connector 7 Atmel STK521 switches configuration 9 Atmel STK521 headers 10 Atmel STK521 test points 11 Extra functions 11 Section 3 12 Troubleshooting Guide 12 Section 4 13 Technical Specifications 13 Section 5 14 Technical Support 14 Section 6 15 Complete Schematics 15 ...

Страница 3: ...e STK521 includes connectors and hardware allowing full utilization of the new features of the AT90PWM81 161 while the Zero Insertion Force ZIF socket allows easy to use of SOIC20 package for prototyping This user guide acts as a general getting started guide as well as a complete technical reference for advanced users Note that in this guide the word AVR is used to refer to the target components ...

Страница 4: ... Zero Insertion Force Socket for SOIC20 Package Zero Insertion Force Socket for QFN32 Package not populated High Voltage Parallel Programming Serial Programming 6 pin Connector for On chip Debugging using Atmel AVR JTAGICE mkII or Atmel AVR Dragon emulators Switches for Reset GPIOs configuration Xtal GPIOs or power supply configuration External power supply connector for standalone mode Quick Refe...

Страница 5: ...0 expansion header 0 and 1 It is important that the top module is con nected in the correct orientation as shown in Figure 2 1 The EXPAND0 written on the STK521 top module should match the EXPAND0 written beside the expansion header on the STK500 board Figure 2 1 Connecting STK521 to the STK500 Board Note Connecting the STK521 with wrong orientation may damage the board ...

Страница 6: ...ket Figure 2 2 Pin1 on ZIF Socket Caution Do not mount an Atmel AT90PWM81 on the STK521 at the same time as an AVR is mounted on the STK500 board None of the devices might work as intended 2 2 Powering the STK521 The STK521 can be powered as follows 1 Through the STK500 by selecting POWER switch to VTG 2 Through an external power supply using the jack connector and selecting POWER switch to VEXT I...

Страница 7: ...way as for other AVR parts Note The AT90PWM81 also supports Self Programming see the Atmel AVR109 application note for more information on this topic 2 3 1 Serial in system programming Figure 2 3 Serial in system programming To program the AT90PWM81 using ISP programming mode connect the 6 wire cable between the ISP6PIN connector on the Atmel STK500 board and the ISP connector on the Atmel STK521 ...

Страница 8: ...umper settings for the Atmel AT90PWM81 Note See the Atmel STK500 User Guide for information on how to use the STK500 front end software for ISP Programming 2 3 2 High voltage programming Figure 2 4 High voltage parallel programming STK500 VTARGET Mounted AREF Open RESET Open XTAL1 Mounted OSCSEL Mounted pin 1 and 2 BSEL2 Open PJUMP Open ...

Страница 9: ...ing mode in the Atmel AVR Studio STK500 software Note See the Atmel STK500 User Guide for information on how to use the STK500 front end software in high voltage programming mode For the high voltage programming mode to function correctly the target voltage must be higher than 4 5V 2 4 Atmel AVR JTAGICE mkII Connector See the following document JTAGICE mkII Quick Start Guide which purpose is Conne...

Страница 10: ...WM81 More information about the JTAGICE mkII and on chip debugging can be found in the Atmel AVR JTAGICE mkII User Guide which is available at the Atmel web site www atmel com Note Remove the RESET jumper on the Atmel STK500 to work run properly JTAGICE mkII Note MISO MOSI and SCK lines can be disconnected when the product is in debugging mode They can then be used for application purpose Table 2 ...

Страница 11: ...on CLOCK Clock source selection EXT clock from crystal plugged in Ext Clock socket STK500 clock from Atmel STK500 INT RC clock from internal RC oscillator RESET Reset pin configuration RST Product reset pin is connected to STK500 reset button PE0 Product reset pin is connected to PE0 on PORTE header POWER Power supply source selection VEXT External power supply through power jack VTG STK500 power ...

Страница 12: ...Atmel STK521 headers Headers are populated for both high voltage programming purpose as well as for port connection to LEDs or switches Figure 2 7 STK521 port headers High Voltage Programmming Interface Port D header Port E header Port D header ...

Страница 13: ... board for probes 2 8 Extra functions The STK521 includes a footprint for a ZIF QFN32 5x5 mm socket to evaluate QFN32 package The socket is not mounted but can be populated using the PN QFN32 40 BT 0 5 02 from Enplas Table 2 6 STK521 test points Test Point Function Description T1 GND GND test point T2 GND GND test point ...

Страница 14: ...Guide Table 3 1 Troubleshooting guide Problem Reason Solution Unable to do ISP and high voltage programming using Internal 1MHz RC oscillator Usage of internal 1MHz RC oscillator not recommended To start the microcontroller in low power mode use the 128KHz oscillator ...

Страница 15: ...TK521 User Guide 4 13 8194B AVR 01 12 Section 4 Technical Specifications System unit Physical dimensions 56mm x 119mm x 27mm Weight 70g Operating conditions Voltage supply 1 8V 5 5V Temperature 0 C 50 C ...

Страница 16: ...ich target AVR device is used complete part number Target voltage and speed Clock source and fuse setting of the AVR Programming method ISP or high voltage Hardware revisions of the AVR tools found on the PCB Version number of the Atmel AVR Studio This can be found in the AVR Studio help menu PC operating system and version build PC processor type and speed A detailed description of the problem ...

Страница 17: ...STK521 User Guide 6 15 8194B AVR 01 12 Section 6 Complete Schematics On the following pages the complete schematics and assembly drawing of the Atmel STK521 revision B are shown ...

Страница 18: ...STK521 User Guide 6 16 8194B AVR 01 12 Figure 6 1 Schematics 1 of 3 ...

Страница 19: ...STK521 User Guide 6 17 8194B AVR 01 12 Figure 6 2 Schematics 2 of 3 ...

Страница 20: ...STK521 User Guide 6 18 8194B AVR 01 12 Figure 6 3 Schematics 3 of 3 ...

Страница 21: ...STK521 User Guide 6 19 8194B AVR 01 12 Figure 6 4 Assembly drawing 1 of 1 ...

Страница 22: ...T AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL ...

Страница 23: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel ATSTK521 ...

Отзывы: