Atmel STK526 Скачать руководство пользователя страница 19

Using the STK526

STK526 rev. B Hardware User Guide

2-19

7709B–AVR–05/07

Figure 2-17 .  

EXP.CON 0 and EXP.CON 1 Connectors 

2.7.3

Main Clock from STK500

The  AVR  clock  frequency  (external)  coming  from  STK500  (XT1/XT2)  can  also  be
controlled from AVR Studio®.

“STKX1” and ”STKX2” jumpers should be closed

2.7.4

RESET from STK500

The  AVR  RESET  coming  from  STK500  (NRST  -  EXP.CON  0)  can  also  control  the
STK526. 

2.8

In-System Programming

2.8.1

Programming with USB bootloader: DFU (Device Firmware Upgrade)

AT90USB82/162  part  comes  with  a  default  factory  pre-programmed  USB  bootloader
located  in  the  on-chip  boot  section  of  the  AT90USB82/162.  This  is  the  easiest  and
fastest way to reprogram the device directly over the USB interface. The “Flip” PC-side
application  available  for  free  on  Atmel  website  offers  a  flexible  and  user  friendly
interface to reprogram the application over the USB bus.

The HWB pin of the AT90USB82/162 allows to force the bootloader section execution
after reset. (Refer to AT90USB82/162 datasheet section “Bootloader support”). To force
bootloader execution, operate as follows:

Press both “RST” and “HWB” push buttons

First release the “RST” push button

Then release the “HWB” push button

EXP. CON 1

GND

GND

1 2

n.c. (

AUXI0

)

n.c. (

AUXO0

)

3 4

n.c. (

CT7

)

n.c. (

CT6

)

5 6

n.c. (

CT5

)

n.c. (

CT4

)

7 8

n.c. (

CT3

)

n.c. (

CT2

)

9 10

n.c. (

CT1

)

n.c. (

BSEL2

)

11 12

n.c.

REF

13 14

NRST

PG2

15 16

PG1

PG0

17 18

GND

GND

19 20

PC7

PC6

23 24

VTG

VTG

21 22

PC5

PC4

25 26

PC3

PC2

27 28

PC1

PC0

29 30

PA7

PA6

31 32

PA5

PA4

33 34

PA3

PA2

35 36

PA1

PA0

37 38

GND

GND

39 40

GND

GND

1 2

n.c. (

AUXI1

)

n.c. (

AUXO1

)

3 4

n.c. (

DATA7

)

n.c. (

DATA6

)

5 6

n.c. (

DATA5

)

n.c. (

DATA4

)

7 8

n.c. (

DATA3

)

n.c. (

DATA2

)

9 10

n.c. (

DATA1

)

n.c. (

DATA0

)

11 12

n.c. (

SI

)

n.c. (

SO

)

13 14

n.c. (

SCK

)

n.c. (

CS

)

15 16

XT1

XT2

17 18

VTG

VTG

19 20

PB7

PB6

23 24

GND

GND

21 22

PB5

PB4

25 26

PB3

PB2

27 28

PB1

PB0

29 30

PD7

PD6

31 32

PD5

PD4

33 34

PD3

PD2

35 36

PD1

PD0

37 38

GND

GND

39 40

EXP. CON 0

Top View

Содержание STK526

Страница 1: ...STK526 Rev B Hardware User Guide...

Страница 2: ...y 2 7 2 3 RESET 2 11 2 4 AT90USB82 162 AVR Microcontroller 2 12 2 5 Serial Links 2 12 2 6 On board Resources 2 16 2 7 STK500 Resources 2 18 2 8 In System Programming 2 19 2 9 Debugging 2 23 2 10 Test...

Страница 3: ...e product using demonstration software This documents applies to the revision B of the board To complement the evaluation and enable additional development capability the STK526 can be plugged into th...

Страница 4: ...upports Parallel High Voltage Programming Power supply flagged by POWER ON LED regulated 3 3 or 5V from an external power connector from the USB interface USB device bus powered application from STK50...

Страница 5: ...AVR Studio version 4 12SP2 or higher For up to date information on this and other AVR tool products please consult our web site The newest version of AVR Studio AVR tools and this User Guide can be f...

Страница 6: ...7709B AVR 05 07 Section 2 Using the STK526 This chapter describes the board and all its features 2 1 Overview Figure 2 1 STK526 Overview USB RS232 SPI debugWire Power Crystal Joystick Reset Hardware B...

Страница 7: ...26 Power Configuration First the board allows to drain power from three external sources leading to four different solutions The selected voltage is applied to the regulator input of the AT90USB82 162...

Страница 8: ...STK500 Resources on page 18 Notes 1 15V is the maximum level limitation of an unidirectional transit diode 2 There is a diode bridge voltage level between the negative output of the power supply and...

Страница 9: ...r a USB self powered device application To use this configuration an external power supply must be connected to J5 connector The on board 5V regulator is used REG 3V3 3 3V This configuration allows th...

Страница 10: ...erigraphied INTREG The Vcc pin will be tied to the regulator output so that the AT90USB82 162 itself will power itself from its regulator and the I O will be at 3V3 level Vsource 3 3V Vcc 3 3V in this...

Страница 11: ...gh the AT90USB82 162 has its on chip RESET circuitry c f AT90USB82 162 Datasheet section System Control and Reset the STK526 provides the AT90USB82 162 a RESET signal which can come from 3 different s...

Страница 12: ...th a default 8MHz crystal oscillator When closing STKX1 and STKX2 switches and STK526 is connected to an STK500 the STK526 can operate with the STK500 Osc frequency parameter The STK500 clock precedes...

Страница 13: ...o avoid current supply to USB in order to get 3V3 voltage in any condition this allows to power the dataflash at any time or to allow a USB Bus powered operation with all the board in 3 3V Since this...

Страница 14: ...ne female DB9 connector assumes the RS 232 connections Figure 2 9 RS 232 DB9 Connections Figure 2 10 Typical PC Connection Layout 1 RS 232 DB9 front view pin 2 5 6 9 2 3 4 7 8 RS TxD pin 3 RS RxD pin...

Страница 15: ...source Rx reference STK526 destination Mode Solder Pads Configuration DB9 Connection 1 Software Data Flow Control default configuration SP4 open SP5 open SP7 open SP8 open Tx Rx Pin 2 Pin 3 Optional...

Страница 16: ...n external pull up resistors on the push button Figure 2 12 Joystick Schematic Figure 2 13 Joystick Implementation 2 6 2 LEDs The STK526 includes 4 green LEDs implemented on one line They are connecte...

Страница 17: ...ignal is connected to PortC bit 2 of the AT90USB82 162 See Figure 2 15 Figure 2 15 On board data flash schematic Although the dataflash is 3 3V powered it withstands without problem 5V level signals I...

Страница 18: ...microcontroller on the STK500 board when STK526 is plugged on STK500 2 7 1 Supply Voltage from STK500 The AVR supply voltage coming from STK500 VTG can also be controlled from AVR Studio The supply vo...

Страница 19: ...the application over the USB bus The HWB pin of the AT90USB82 162 allows to force the bootloader section execution after reset Refer to AT90USB82 162 datasheet section Bootloader support To force boot...

Страница 20: ...ming option Note The SPIEN fuse must be enabled in AT90USB82 162 to allow ISP operation The SPIEN fuse is disabled when using debugWire channel Section Debugging page 23 The AVR ISP mkII programmer is...

Страница 21: ...d Lock Bit options ISP programmable can be programmed individually or with the sequential automatic programming option Note See AVR Studio on line Help for information 2 8 4 Programming with STK500 Se...

Страница 22: ...source Vcc Src jumper to STK and REG 5V set the 3V3REG jumper must be set to NOREG mount the jumper STKX1 to enable the STK500 clock signal On the STK500 connect the PROG_CTRL header 10 pts to the POR...

Страница 23: ...please refer to AVR Studio Help information When using JTAG ICE MK II for debugging and as AT90USB82 162 parts are factory configured with the higher security level set a chip erase operation will be...

Страница 24: ...TP2 D USB D data line TP3 VBUS USB Vbus power line TP4 Ucap AT90USB82 162 internal 3V3 regulator output TP5 5V 5V on board regulated power supply TP6 3 3V 3 3V on board regulated power supply TP7 Gnd...

Страница 25: ...Configuration Pads Listing Table 2 4 Configuration Pads 2 11 2 Configuration Pads Disconnection Figure 1 Configuration Pad Disconnection 2 11 3 Configuration Pads Connection Figure 2 Configuration Pa...

Страница 26: ...erence Related Signals Function SP1 PD7 CTS This solder pad allows to enable the logical CTS signal for hardware control flow on RS232 interface SP2 RS232 CTS This solder pad allows to enable the phys...

Страница 27: ...ity The AVR JTAG ICE probe is not connected Connect the JTAG ICE 10 PIN header to the correct STK526 JTAG header page 20 Take care to polarity The memory lock bits are programmed Erase the memory befo...

Страница 28: ...sical Dimensions L 119 x W 56 x H 27 mm Weight 70 g Operating Conditions Internal Voltage Supply 2 7V 5 5V External Voltage Supply 9V 15V 100mA Connections USB Connector Type B receptacle USB Communic...

Страница 29: ...Which target AVR device is used complete part number Target voltage and speed Clock source and fuse setting of the AVR Programming method ISP Parallel or specific Boot Loader Hardware revisions of th...

Страница 30: ...ser Guide 6 30 7709B AVR 05 07 Section 6 Complete Schematics On the next pages the following documents of STK526 revision 4381B are shown Complete schematics Assembly drawing Bill of materials Default...

Страница 31: ...2006 1 TP4 UCAP UCAP CR1 PGB0010603 PD1 SW2 RST PC2 UCAP Capacitor Closed to the MCU PD4 PD5 D UCAP Y 1 8MHz C7 15pF C6 15pF XTAL1 XTAL2 XTAL1 XTAL2 D PC7 PC6 VCC Force Bootloader Execution Reset Cir...

Страница 32: ...4 DATA7 5 DATA6 6 DATA5 7 DATA4 8 DATA3 9 DATA0 10 DATA1 11 DATA9 12 SI 13 SO 14 SCK 15 CS 16 XT1 17 XT2 18 VTG 19 VTG 20 GND 21 GND 22 PB7 23 PB6 24 PB5 25 PB4 26 PB3 27 PB2 28 PB1 29 PB0 30 PD7 31 P...

Страница 33: ...y Nov ember 24 2006 C18 100nF RT S 11 12 10 9 8 7 13 14 15 16 C1 1 V 2 C1 3 C2 4 C2 5 V 6 RS 232 TTL GND VCC U5 MAX3232 RS232 BUFFER C14 100nF C13 100nF C15 100nF C17 100nF RxD PD2 DECOUPLING CAPACITO...

Страница 34: ...K CP1 Vbus 3V3 VBUS REG 3V3 R20 100k 1 REG 5V 1 TP7 GND 3 3V STK526 MEZZANINE FOR STK500 3 3V D7 TOPLED LP M676 POWER LED RED R22 1k Title Size Document Number Rev Date Sheet of Doc 1 1 POWER A4 4 4 F...

Страница 35: ...Complete Schematics STK526 rev B Hardware User Guide 6 35 7709B AVR 05 07 Figure 6 5 Assembly Drawing 1 of 2 component side...

Страница 36: ...ype B receptacle Special 1 J4 Header 2x3 Male header 2x3 pts for ISP connection 2 54mm pitch 1 J5 Jack Power 2 1 Jack Power Receptacle with diam 2 1mm Special 1 P1 DB9 female DB9 Female 90 receptacle...

Страница 37: ...TPA511G 4 ways joystick center CMS mount Special 7 TP1 TP7 Test Point Test point for measurements D 1 32mm 1 Y1 8MHz 8MHz crystal HQ49 4H 4 JP1 JP4 Shunts Shunts for configuration headers N A Table 6...

Страница 38: ...d otherwise Atmel products are not suitable for and shall not be used in automotive applications Atmel s products are not intended authorized or warranted for useas components in applications intended...

Отзывы: