Microchip Technology STK600 Скачать руководство пользователя страница 12

Using external voltage reference

When the AREF0/AREF1 jumper is disconnected, ADC reference voltage can be supplied from an external source, by 

connecting to the AREF0/AREF pins on the AUX header. 

When using external an source for AREF, the user must control that VTARGET is at a higher voltage level than AREF. This 

can be controlled easily by reading the VTG value from AVR Studio before setting AREF. 

NOTE: The AREF0 and AREF1 voltage which are visible in the PC software are the STK600 generated voltages. Externally applied AREF voltages 
cannot be read from AVRStudio. 

Using the internal voltage reference 

If the AVR's internal voltage reference is used, the AREF0/AREF1 jumper must be removed. 

Using Aref as analog input 

AREF0 and AREF1 can also be used as analog inputs to any of the ADC channels. 

For tiny and mega devices, where only AREF0 is connected to the device via the routing card, AREF1 can be connected to a ADC channel by 

connecting a cable from AREF1 on the AUX header and to the port pin header corresponding to the adc channel. (check the device datasheet for 
which port pin header to connect to). 

If the AVR's internal voltage reference, or an external voltage reference is used, the AREF0/AREF1 jumper must be removed. If this is the case, 
AREF0 or AREF1 can be used as analog inputs by connecting a cable from pin 1 on the AREF0/AREF1 header to the port pin header corresponding 
to the adc channel. 

AREF decoupling capacitor 

The routing card has a decoupling capacitor on AREF. This is marked with silkprint on the PCB. For some AVR devices the AREF pin is on a pin 
which also is part of the high-voltage programming interface. On these routing cards the aref capacitor is not mounted, as it would make it 
impossible to use the high-voltage programming interface. A capacitor can be soldered to achieve better noise performance. A typical value is 10nF. 

The footprint for the capacitor is SMD size 0603. 

Short circuit protection 

The internal AREF voltage generators have a short circuit protection. If the STK600 measures the AREF0/AREF1 to be 0.3V or more below the 
setpoint, AREF will be shut off. When this happens, the status LED will blink red. The AREF0 and AREF1 will also be shut down by the Master 

MCU if a short circuit is detected on VTarget (in addition to shutting down VTarget). In this case, the status LED will blink red. 

RESET Control 

The STK600 controls the RESET signal to the target AVR. Under normal operation, the RESET line is held in an inactive, high state (pull-up to 
VTG). 

The RESET jumper 

The RESET jumper connects the RESET pin on the target AVR to the STK600. When the RESET jumper is 
mounted, 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. 

The RESET jumper must always be mounted when High-Voltage programming an AVR device. If using an external 

reset system, it must allow the reset line to be controlled by the STK600 during programming. 

The RESET button 

STK600 has a reset button that resets the target AVR when being pushed. The button has no function if the RESET jumper is not mounted. 

RESET signal on AUX header 

The target AVR's RESET signal is accessible on the AUX header. This pin can be used to apply an external RESET signal. When applying an 
external reset signal, the reset jumper must be removed. 

12V Programming Voltage 

During High-Voltage Programming, STK600 applies 12V to the AVR’s RESET line. Thus, an external reset circuit not capable of handling this 
must be disconnected before High-Voltage programming the AVR. 

External RESET de-coupling 

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. 

Page 12 of 35

STK600 User Guide

2008-06-20

file://C:\Documents and Settings\PAWEL\Ustawienia lokalne\Temp\~hhE369.htm

Содержание STK600

Страница 1: ...rogramming JTAG Programming PDI Programming In System Programming of an External Target System 6 Troubleshooting and Support Troubleshooting Guide Technical Support Manual Firmware Upgrade Chapter 1 I...

Страница 2: ...On board 2Mbit Dataflash for non volatile data z USB mini AB On The Go connector for USB devices z PHY and DSUB 9 connetor for RS232 interface z PHY and DSUB 9 connector for CAN bus z PHY and header...

Страница 3: ...P JTAG ATmega644 STK600 RC040M 5 STK600 DIP HVPP ISP JTAG ATmega644P STK600 RC040M 5 STK600 DIP HVPP ISP JTAG ATmega1284P STK600 RC040M 5 STK600 DIP HVPP ISP JTAG ATmega8 STK600 RC028M 6 STK600 DIP HV...

Страница 4: ...9 STK600 TQFP64 HVPP ISP JTAG ATmega32C1 STK600 RCPWM 22 STK600 TQFP32 HVPP ISP AT90PWM2 STK600 RCPWM 19 STK600 SOIC HVPP ISP AT90PWM3 STK600 RCPWM 19 STK600 SOIC HVPP ISP AT90PWM2B STK600 RCPWM 19 ST...

Страница 5: ...be 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...

Страница 6: ...60 STK600 LEDS and SWITCH demonstration include m2560def inc def Temp r16 Temporary register def Delay r17 Delay variable 1 def Delay2 r18 Delay variable 2 Initialization RESET ser Temp out DDRB Temp...

Страница 7: ...f they share the same pinout A set of spring loaded connectors make the connection between the motherboard routing card and socket card Clips or screws hold the stack of cards together In addition to...

Страница 8: ...luded in the STK600 package Install either the clips or the nuts to the motherboard depending on what solution you want to use Using clips Motherboard The clips should be installed from the bottom sid...

Страница 9: ...rom the clip Using screws and nuts 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 Routing and...

Страница 10: ...ed 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 Serial communication at the h...

Страница 11: ...RGET supply If VTG voltage is supplied from an external source while the main power switch is in the off position the kit may become damaged Status LEDs VTARGET LED A green LED next to the VTARGET jum...

Страница 12: ...lue is 10nF The footprint for the capacitor is SMD size 0603 Short circuit protection The internal AREF voltage generators have a short circuit protection If the STK600 measures the AREF0 AREF1 to be...

Страница 13: ...in connected to the AREF pin The AREF0 voltage is controlled from the PC software if the AREF0 jumper is mounted AREF1 Analog Reference voltage This pin is connected to the AREF pin on devices having...

Страница 14: ...CK PA14 PB6 PA15 PB7 PA16 PC0 PA17 PC1 PA18 PC2 PA19 PC3 PA20 PC4 PA21 PC5 PA22 PC6 PA23 PC7 PA24 PD0 PA25 PD1 PA26 PD2 PA27 PD3 PA28 PD4 PA29 PD5 PA31 PD7 PB00 PE0 PB01 PE1 PB02 PE2 PB03 PE3 PB04 PE4...

Страница 15: ...STK600 Signal Name PA3 PA3 PA4 PA4 PA5 PA5 PA6 PA6 PA7 PA7 PA8 PB0 PA9 PB1 PA10 PB2 PA11 PB3 TOSC1 PA12 PB4 TOSC2 PA13 PB5 PA14 PB6 MOSI PA15 PB7 SCK PA16 PC0 PA17 PC1 PA18 PC2 XTAL1 PA19 PC3 XTAL1 PA...

Страница 16: ...PA3 PA3 PA4 PA4 PA5 PA5 PA6 PA6 PA7 PA7 PA8 PB0 PA9 PB1 PA10 PB2 PA11 PB3 TOSC1 PA12 PB4 TOSC2 PA13 PB5 PA14 PB6 MOSI PA15 PB7 SCK PA16 PC0 PA17 PC1 PA18 PC2 XTAL1 PA19 PC3 XTAL1 PA20 PC4 PA21 PC5 PA...

Страница 17: ...24 PD0 PA25 PD1 PP0 PA26 PD2 PL4 PA27 PD3 PL5 PA28 PD4 PL6 PA29 PD5 PP2 PA30 PD6 PB0 PE0 PB1 PE1 PB2 PE2 PB3 PE3 PB4 PE4 PP3 PB5 PE5 PB6 PE6 PB7 PE7 PB8 PF0 PB9 PF1 PB10 PF2 PB11 PF3 PB12 PF4 PB13 PF5...

Страница 18: ...3 PM3 PX24 PM4 PX25 PM5 PX26 PM6 PX27 PM7 PX28 PN0 PX29 PN1 PX30 PN2 PX31 PN3 PX32 PN4 PX33 PN5 PX34 PN6 PX35 PN7 PX36 PP1 PX37 PP4 PX38 PP5 PX39 PP7 XIN0 XTAL1 XOUT0 XTAL2 XIN1 crystal socket XOUT1 c...

Страница 19: ...t source any significant current when LEDn is driven high but it will sink a current of approximately 18mA when LEDn is pulled to GND Switches The switches are labeled SW0 to SW7 and are available on...

Страница 20: ...mental and parallel resonant crystals Place a crystal in the crystal socket located next to the PROGRAM button To use the crystal oscillator as a clock source set the CLOCK switch to the XTAL position...

Страница 21: ...he device pin to both the XTAL1 net and a port pin header on the STK600 Hence to use the pin as a I O port the clock selection switch must be set to position INT to disconnect the clock drivers on STK...

Страница 22: ...le data storage This is a high density flash memory chip with SPI serial interface Detailed datasheet of the DataFlash can be obtained from the Atmel CD ROM or from the Atmel web site The dataflash ca...

Страница 23: ...PB5 PK4 17 18 PK5 PB6 19 20 PB7 PK6 19 20 PK7 GND 21 22 VTG GND 21 22 VTG PC0 23 24 PC1 PL0 23 24 PL1 PC2 25 26 PC3 PL2 25 26 PL3 PC4 27 28 PC5 PL4 27 28 PL5 PC6 29 30 PC7 PL6 29 30 PL7 GND 31 32 VTG...

Страница 24: ...uted to the target AVR When not using the VBUS generation feature the jumper must be removed Note VCC is 5 3V GND 71 72 VTG GND 71 72 VEXT PH0 73 74 PH1 GND 73 74 VEXT PH2 75 76 PH3 VCC 75 76 GND PH4...

Страница 25: ...voltage for AT6660 Mount a jumper to either side of SLOPE CTRL to prevent AT6660 from going to standby The CAN transceiver is connected to the MCU trough the two pin rx and tx CAN header near the swit...

Страница 26: ...sheet section I O Ports Miscellaneous STK600 has two push buttons and three LEDS for special functions and status indication The following section explains these features The figure above shows the pl...

Страница 27: ...its and calibration bytes Note that 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 AVR Studio Note that if ISP programming...

Страница 28: ...t are affected by this uses these routing cards z STK600 RC008T 2 Parallel High Voltage Programming Hardware setup for On board programming Follow the steps below to do Parallel High Voltage Programmi...

Страница 29: ...be routed Note that this interface is only intended for use on board STK600 Hardware setup for On board programming 1 Mount the routing and socket card and the target device See the Socket System sect...

Страница 30: ...10 pins JTAG headers on the STK600 See picture below 3 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...

Страница 31: ...r Hardware setup for On board programming 1 Mount the routing and socket card and the target device See the Socket System section on how to do this 2 Connect a 6 wire cable between the two 6 pins ISP...

Страница 32: ...grammed 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 Note If t...

Страница 33: ...EDs and Switches No target voltage Ensure that the VTG jumper is mounted and that VTG is set above 1 8V from AVRStudio The flash memory is erased Reprogram the AVR device The AVR device can not be pro...

Страница 34: ...ogramming The reset jumper is not mounted Mount the reset jumper The I O ports are connected to peripheral circuitry leds switches etc Remove all peripheral connections from the I O ports belonging to...

Страница 35: ...0 Upgrade 4 The Atmel STK600 Upgrade program will start If connection is established the Status will show STK600 present 5 Press the Start Upgrade button The upgrade program will upgrade STK600 s firm...

Отзывы: