ATSTK600 Atmel, ATSTK600 Datasheet

DEV KIT FOR AVR/AVR32

ATSTK600

Manufacturer Part Number
ATSTK600
Description
DEV KIT FOR AVR/AVR32
Manufacturer
Atmel
Series
AVR®r
Type
MCUr
Datasheets

Specifications of ATSTK600

Processor To Be Evaluated
AVR and AVR32
Data Bus Width
8 bit
Interface Type
RS-232, USB
Silicon Manufacturer
Atmel
Core Architecture
AVR
Core Sub-architecture
AVR UC3
Silicon Core Number
STK600
Silicon Family Name
AVR
Kit Contents
Board
Rohs Compliant
Yes
For Use With/related Products
Atmel AVR Devices
For Use With
ATSTK600-ATTINY10 - STK600-ATTINY10 SOCKET PACKAGE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Contents
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATSTK600
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATSTK600-ATTINY10
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATSTK600-DIP40
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATSTK600-RC14
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATSTK600-RC15
Manufacturer:
Atmel
Quantity:
135
Features
• Supported Commands and Command options
• Command and Answer package formats
1 Introduction
This document describes the STK
AVR Studio
The definition of all commands, responses, parameters and other defined values
can be found in the file “command.h”. This file can be downloaded from the Atmel®
web site.
All device specific values can be found in the xml files for each part. The xml files
are distributed with AVR Studio. Download the latest AVR Studio 4 from the Atmel
web site, http://www.atmel.com/products/AVR/. The xml file format is described in
chapter 12.
AVR079: STK600 Communication Protocol
®
4.14 or later.
®
600 protocol. The firmware is distributed with
8-bit
Microcontrollers
Application Note
Rev. 8133A-AVR-04/08

Related parts for ATSTK600

ATSTK600 Summary of contents

Page 1

... The definition of all commands, responses, parameters and other defined values can be found in the file “command.h”. This file can be downloaded from the Atmel® web site. All device specific values can be found in the xml files for each part. The xml files are distributed with AVR Studio ...

Page 2

Overview 2.1 USB Communication 2.2 Packet Format 2.3 USB Driver 2.4 Command format 3 General Commands 3.1 CMD_SIGN_ON AVR079 2 The STK600 communicates with the PC through its USB interface. The USB interface utilizes two bulk endpoints; one IN ...

Page 3

Table 3-1. Command format. Field Size Command ID 1 byte Table 3-2. Answer format. Field Size Answer ID 1 byte Status 1 byte Signature length 1 byte 8 bytes 3.2 CMD_SET_PARAMETER Table 3-3. Command format for one byte values. Field ...

Page 4

Table 3-7. Answer format for one byte values if command succeeded. Field Size Answer ID 1 byte Status 1 byte Parameter value 1 byte Table 3-8. Answer format for two byte values if command succeeded. Field Size Answer ID 1 ...

Page 5

Table 3-12. Command format. Field Size Command ID 1 byte Address 4 byte Table 3-13. Answer format if command succeeded. Field Size Answer ID 1 byte Status 1 byte 3.6 CMD_FIRMWARE_UPGRADE Table 3-14. Command format. Field Size Command ID 1 ...

Page 6

Table 3-16. Command format. Field Size Command ID 1 byte NumBytes RC_ID_table 1 byte ... 1 byte ... 1 byte ... 1 byte ... 1 byte Table 3-17. Answer format. Field Size Answer ID 1 byte Status 1 byte 3.8 ...

Page 7

CMD_CHECK_TARGET_CONNECTION Table 3-20. Command format. Field Size Command ID 1 byte Table 3-21. Answer format. Field Size Answer ID 1 byte Answer value 1 byte Status 1 byte 4 ISP Programming Commands 8133A-AVR-04/08 Values CMD_CHECK_TARGET_CONNECTION Values CMD_LOAD_EC_ID_TABLE Se table ...

Page 8

CMD_ENTER_PROGMODE_ISP Table 4-1. Command format. Field Size Command ID 1 byte timeout 1 byte stabDelay 1 byte cmdexeDelay 1 byte synchLoops 1 byte byteDelay 1 byte (1) pollValue 1 byte pollIndex 1 byte (2) cmd1 1 byte (2) cmd2 ...

Page 9

Table 4-3. Command format. Field Size Command ID 1 byte preDelay 1 byte PostDelay 1 byte Table 4-4. Answer format. Field Size Answer ID 1 byte Status 1 byte 4.3 CMD_CHIP_ERASE_ISP Table 4-5. Command format. Field Size Command ID 1 ...

Page 10

Table 4-7. Command format. Field Size Command ID 1 byte NumBytes 2 byte mode 1 byte delay 1 byte cmd1 1 byte cmd2 1 byte cmd3 1 byte poll1 1 byte poll2 1 byte Data N bytes AVR079 10 Values ...

Page 11

Table 4-9. Answer format. Field Size Answer ID 1 byte Status 1 byte 4.5 CMD_READ_FLASH_ISP Table 4-10. Command format. Field Size Command ID 1 byte NumBytes 2 byte cmd1 1 byte Table 4-11. Answer format if the command was executed. ...

Page 12

CMD_PROGRAM_EEPROM_ISP 4.7 CMD_READ_EEPROM_ISP 4.8 CMD_PROGRAM_FUSE_ISP Table 4-13. Command format. Field Size Command ID 1 byte (1) cmd1 1 byte (1) cmd2 1 byte (1) cmd3 1 byte (1) cmd4 1 byte Notes: 1. cmd1, cmd2, cmd3 and cmd4 are ...

Page 13

Field Size Notes: 1. RetAddr indicates after which of the transmitted bytes on the SPI interface to store the return byte, as the SPI interface is implemented as a ring buffer (one byte out, one byte in). 2. cmd1, cmd2, ...

Page 14

Field Size NumTx 1 byte NumRx 1 byte RxStartAddr 1 byte TxData 0-255 bytes Table 4-18. Answer format. Field Size Answer ID 1 byte Status1 1 byte data 0-255 bytes Status2 1 byte 5 Parallel Programming Mode Commands 5.1 CMD_ENTER_PROGMODE_PP ...

Page 15

Table 5-2. Answer format (same for all results). Field Size Answer ID 1 byte Status 1 byte 5.2 CMD_LEAVE_PROGMODE_PP Table 5-4. Command format. Field Size Command ID 1 byte StabDelay 1 byte ResetDelay 1 byte Table 5-5. Answer format. Field ...

Page 16

Field Size Answer ID 1 byte Status 1 byte 5.4 CMD_PROGRAM_FLASH_PP Table 5-9. Command format. Field Size Command ID 1 byte Nmb bytes (MSB 1 byte Nmb bytes (LSB) 1 byte (1) Mode 1 byte pollTimeout 1 byte Data 1 ...

Page 17

Table 5-11. Answer format /(same for all results). Field Size Answer ID 1 byte Status 1 byte 5.5 CMD_READ_FLASH_PP Table 5-13. Command format. Field Size Command ID 1 byte Nmb bytes (MSB) 1 byte Nmb bytes (LSB) 1 byte Table ...

Page 18

Field Size Status 1 byte Data Nmb bytes Status 1 byte 5.6 CMD_PROGRAM_EEPROM_PP 5.7 CMD_READ_EEPROM_PP 5.8 CMD_PROGRAM_FUSE_PP Table 5-15. Command format. Field Size Command ID 1 byte Address 1 byte Data 1 byte pulseWidth 1 byte pollTimeout 1 byte Table ...

Page 19

CMD_READ_FUSE_PP Table 5-18. Command format. Field Size Command ID 1 byte 1 byte Table 5-19. Answer format if command was executed. Field Size Answer ID 1 byte Status 1 byte Data 1 byte 5.10 CMD_PROGRAM_LOCK_PP 5.11 CMD_READ_LOCK_PP 5.12 CMD_READ_SIGNATURE_PP ...

Page 20

CMD_SET_CONTROL_STACK Table 5-20. Command format. Field Size Command ID 1 byte Data 32byte Table 5-21. Answer format if command was executed. Field Size Answer ID 1 byte Status 1 byte 6 High Voltage Serial Programming Commands 6.1 CMD_ENTER_PROGMODE_HVSP Table ...

Page 21

Field Size PowoffDelay 1 byte resetDelay1 1 byte resetDelay2 1 byte Table 6-2. Answer format. Field Size Answer ID 1 byte Status 1 byte 6.2 CMD_LEAVE_PROGMODE_HVSP Table 6-3. Command format. Field Size Command ID 1 byte stabDelay 1 byte resetDelay ...

Page 22

Table 6-5. Command format. Field Size Command ID 1 byte pollTimeout 1 byte eraseTime 1 byte Table 6-6. Answer format. Field Size Answer ID 1 byte Status 1 byte 6.4 CMD_PROGRAM_FLASH_HVSP Table 6-7. Command format. Field Size Command ID 1 ...

Page 23

Table 6-9. Answer format. Field Size Answer ID 1 byte Status 1 byte 6.5 CMD_READ_FLASH_HVSP Table 6-10. Command format. Field Size Command ID 1 byte NumBytes 2 byte Table 6-11. Answer format if the command is executed. Field Size Answer ...

Page 24

CMD_PROGRAM_EEPROM_HVSP 6.7 CMD_READ_EEPROM_HVSP 6.8 CMD_PROGRAM_FUSE_HVSP Table 6-12. Command format. Field Size Command ID 1 byte Fuse Address 1 byte Fuse Byte 1 byte pollTimeout 1 byte Table 6-13. Answer format. Field Size Answer ID 1 byte Status 1 byte ...

Page 25

Table 6-15. Answer format. Field Size Answer ID 1 byte Status 1 byte Fuse Byte 1 byte 6.10 CMD_PROGRAM_LOCK_HVSP 6.11 CMD_READ_LOCK_HVSP 6.12 CMD_READ_SIGNATURE_HVSP 6.13 CMD_READ_OSCCAL_HVSP 7 AVR8 JTAG Table 7-1. Overall command format. Field Size AVR8JTAG id 1 byte Ice_command ...

Page 26

Memory Read / Write 7.1.1 CMND_READ_MEMORY Table 7-4. Command format. Field Size AVR8JTAG id 1 byte Message ID 1 byte Memory type 1 byte Byte count 4 bytes Start address 4 bytes AVR079 26 Before issuing any AVR8 JTAG ...

Page 27

Table 7-5. Answer format. Field Size Answer id 1 byte Status 1 byte Data n bytes 7.1.2 CMND_WRITE_MEMORY Table 7-6. Command format. Field Size AVR8JTAG id 1 byte Message ID 1 byte Memory type 1 byte Byte count 4 bytes ...

Page 28

CMND_ENTER_PROGMODE Table 7-10. Command format. Field Size AVR8JTAG id 1 byte Message ID 1 byte Table 7-11. Answer format. Field Size Answer id 1 byte status 1 byte 7.1.5 CMND_LEAVE_PROGMODE Table 7-12. Command format. Field Size AVR8JTAG id 1 ...

Page 29

AVR32 JTAG 8.1 CMD_ENTER_PROGMODE_JTAG_AVR32 Table 8-1. Command format. Field Size AVR32JTAG id 1 byte Table 8-2. Answer format. Field Size Answer id 1 byte status 1 byte 8.2 CMD_LEAVE_PROGMODE_JTAG_AVR32 Table 8-3. Command format. Field Size AVR32JTAG id 1 byte ...

Page 30

CMD_RESET_AVR32 Table 8-5. Command format. Field Size AVR32JTAG id 1 byte ICE command 1 byte Reset value 1 byte Table 8-6. Answer format. Field Size Answer id 1 byte status 1 byte 8.4 CMD_SAB_WRITE_AVR32 Table 8-7. Command format. Field ...

Page 31

Table 8-10. Answer format. Field Size Answer id 1 byte status 1 byte data 4 bytes 8.6 CMD_BLOCK_WRITE_AVR32 Table 8-11. Command format. Field Size AVR32JTAG id 1 byte ICE command 1 byte count 1 byte SAB address 8 bytes data ...

Page 32

Table 8-14. Answer format. Field Size Answer id 1 byte Status 1 byte Data bytes 8.8 CMD_NEXUS_WRITE_AVR32 Table 8-15. Command format. Field Size AVR32JTAG id 1 byte ICE command 1 byte register 1 byte Data 4 bytes ...

Page 33

XPROG protocol 9.1 CMD_XPROG_SETMODE Table 9-1. Command format. Offset Field (1) 0 Command ID (2) 1 Mode Notes: 1. The command identifier. 2. Set which of the physical interfaces to use PDI JTAG. Table 9-2. ...

Page 34

XPRG_ENTER_PROGMODE Table 9-5. Command format. Offset Field (1) 0 Command ID Notes: 1. The command identifier Table 9-6. Answer format. Offset Field (1) 0 Command ID (2) 1 Status Notes: 1. The command identifier. 2. One of the defined ...

Page 35

Table 9-9. Command format. Offset Field (1) 0 Command ID (2) 1 Parameter (3) 2 Value Notes: 1. The command identifier 2. The parameter to set. See the appendix for the values. 3. The value’s size is depending on which ...

Page 36

Table 9-11. Command format. Offset Field (1) 0 Command ID (2) 1 Erase mode (3) 2 Address Notes: 1. The command identifier 2. XPRG_ERASE_CHIP: Erases the whole chip and clears lockbits XPRG_ERASE_APP: Erases the application section XPRG_ERASE_BOOT: Erase the boot ...

Page 37

Table 9-13. Command format. Offset Field (1) 0 Command ID (2) 1 Memory type (3) 2 PageMode (4) 3 Address (5) 7 Length (6) 9 Data Notes: 1. The command identifier 2. XPRG_MEM_TYPE_APPL XPRG_MEM_TYPE_BOOT XPRG_MEM_TYPE_EEPROM XPRG_MEM_TYPE_FUSE XPRG_MEM_TYPE_LOCKBITS XPRG_MEM_TYPE_USERSIG 3. If ...

Page 38

Table 9-15. Command format. Offset Field (1) 0 Command ID (2) 1 Memory type (3) 2 Address (4) 6 Length Notes: 1. The command identifier 2. XPRG_MEM_TYPE_APPL XPRG_MEM_TYPE_BOOT XPRG_MEM_TYPE_EEPROM XPRG_MEM_TYPE_FUSE XPRG_MEM_TYPE_LOCKBITS XPRG_MEM_TYPE_USERSIG XPRG_MEM_TYPE_FACTORY_CALIBRATION 3. The start address of the data ...

Page 39

Table 9-18. Answer format. Offset Field (1) 0 Command ID (2) 1 Status (3) 2 Data Notes: 1. The command identifier. 2. One of the defined error codes. 3. The CRC value calculated by the device itself. 10 Return Values ...

Page 40

Table 11-1. One-byte parameters Value PARAM_HW_VER PARAM_SW_MAJOR PARAM_SW_MINOR PARAM_VTARGET PARAM_STATUS PARAM_STATUS_TGT_CONN PARAM_CONTROLLER_INIT PARAM_DISCHARGEDELAY PARAM_SOCKETCARD_ID PARAM_ROUTINGCARD_ID PARAM_EXPCARD_ID PARAM_SW_MAJOR_SLAVE1 PARAM_SW_MINOR_SLAVE1 PARAM_SW_MAJOR_SLAVE2 PARAM_SW_MINOR_SLAVE2 PARAM_BOARD_ID_STATUS PARAM_RESET PARAM_JTAG_ALLOW_FULL_PAGE_STREAM PARAM_JTAG_EEPROM_PAGE_SIZE PARAM_JTAG_DAISY_BITS_BEFORE Table 11-2. Two-byte parameters Value PARAM2_SCK_DURATION PARAM2_AREF0 PARAM2_AREF1 PARAM2_CLOCK_CONF PARAM2_RC_ID_TABLE_REV PARAM2_EC_ID_TABLE_REV PARAM2_JTAG_FLASH_PAGE_SIZE PARAM2_JTAG_FLASH_SIZE_H PARAM2_JTAG_FLASH_SIZE_L 11.1 ...

Page 41

PARAM_SW_MAJOR 11.3 PARAM_SW_MINOR 11.4 PARAM_VTARGET 11.5 PARAM_STATUS_TGT_CONN 11.6 PARAM2_SCK_DURATION 11.7 PARAM_CONTROLLER_INIT 8133A-AVR-04/08 The PARAM_SW_MAJOR and PARAM_SW_MINOR returns the firmware version of the master mcu. See PARAM_SW_MAJOR. The parameter value is voltage in volts x10, i.e. a parameter value of ...

Page 42

PARAM_DISCHARGEDELAY 11.9 PARAM2_AREF0 11.10 PARAM2_AREF1 11.11 PARAM2_CLOCK_CONF Table 11-3. Two-byte value. D15 D14 D13 OCT3 OCT2 OCT1 Table 11-4. Two-byte value DAC5 DAC4 DAC3 AVR079 42 This parameter is intended to be used as a way ...

Page 43

PARAM_SOCKETCARD_ID 11.13 PARAM_ROUTINGCARD_ID 11.14 PARAM_EXPCARD_ID 11.15 PARAM_SW_MAJOR_SLAVE1 11.16 PARAM_SW_MINOR_SLAVE1 11.17 PARAM_SW_MAJOR_SLAVE2 11.18 PARAM_SW_MINOR_SLAVE2 11.19 PARAM2_RC_ID_TABLE_REV 11.20 PARAM2_EC_ID_TABLE_REV 8133A-AVR-04/08 Equation 11-2. OCT ⎛ ⎞ ⎜ ⎟ OCT . 3 322 log ⎝ ⎠ 1039 Equation 11-3. DAC ( ...

Page 44

PARAM_BOARD_ID_STATUS 11.22 PARAM_RESET 11.23 PARAM_RESET_POLARITY 11.24 PARAM_JTAG_ALLOW_FULL_PAGE_STREAM 11.25 PARAM_JTAG_EEPROM_PAGE_SIZE 11.26 PARAM2_JTAG_FLASH_PAGE_SIZE 11.27 PARAM2_JTAG_FLASH_SIZE_H 11.28 PARAM2_JTAG_FLASH_SIZE_L 11.29 PARAM_JTAG_DAISY_BITS_BEFORE AVR079 44 0x00 = OK 0x01 = BoardID mismatch (VTG set to 0V) 0x02 = BoardID changed while power on STK600 (VTG ...

Page 45

... A parameter set is specific for a certain AVR device, thus the parameter settings belong in the XML part description file. Below is a description where to find the STK600 parameter values in the device specific XML file. After installing AVR Studio 4, all xml files can be found at: “\Program Files\Atmel\AVR Tools\PartDescriptionFiles\”. AVR079 Value 2 ...

Page 46

Command Sequence Example AVR079 46 Figure 12-1. XML file viewed in XML notepad Open the XML file in xml editor/viewer (e.g XML Notepad or Internet Explorer). All device specific values for STK600 are located under STK600 node. For parameters ...

Page 47

... For further details and examples of the communication between AVR Studio and STK600 one can set up logging of all communication to a text file. This can be done by adding a register key in the Registry as described below. 1. Open the Registry by running “regedit”: Figure 13-1. Start regedit from run on the windows menu 2. Browse to the path: HKEY_CURRENT_USER\Software\Atmel\AVRTools\STK500\ AVR079 47 ...

Page 48

Make a new String Value (right-click > New > String Value) named “LogFilePath” 4. Enter Data e.g. ”c:\STK600Com.txt” (right-click ”LogFilePath” > Modify > enter Figure 13-2. Adding registry string The communication log for an ISP read signature of an ...

Page 49

Figure 13-3. Communication log of ISP read signature of ATmega2560 AVR079 49 ...

Page 50

Appendix A.1 Commands and parameters AVR079 50 // *** General command constants *** #define CMD_SIGN_ON #define CMD_SET_PARAMETER #define CMD_GET_PARAMETER #define CMD_OSCCAL #define CMD_LOAD_ADDRESS #define CMD_FIRMWARE_UPGRADE #define CMD_RESET_PROTECTION #define CMD_CHECK_TARGET_CONNECTION #define CMD_LOAD_RC_ID_TABLE #define CMD_LOAD_EC_ID_TABLE #define CMD_CLEAR_RC_ID_TABLE // *** ISP command constants ...

Page 51

CMD_PROGRAM_FUSE_PP #define CMD_READ_FUSE_PP #define CMD_PROGRAM_LOCK_PP #define CMD_READ_LOCK_PP #define CMD_READ_SIGNATURE_PP #define CMD_READ_OSCCAL_PP #define CMD_SET_CONTROL_STACK // *** STK HVSP command constants *** #define CMD_ENTER_PROGMODE_HVSP #define CMD_LEAVE_PROGMODE_HVSP #define CMD_CHIP_ERASE_HVSP #define CMD_PROGRAM_FLASH_HVSP #define CMD_READ_FLASH_HVSP #define CMD_PROGRAM_EEPROM_HVSP #define CMD_READ_EEPROM_HVSP #define CMD_PROGRAM_FUSE_HVSP #define CMD_READ_FUSE_HVSP ...

Page 52

AVR079 52 #define STATUS_CMD_OK // Warnings #define STATUS_CMD_TOUT #define STATUS_RDY_BSY_TOUT #define STATUS_SET_PARAM_MISSING // Errors #define STATUS_CMD_FAILED #define STATUS_CMD_UNKNOWN #define STATUS_CMD_ILLEGAL_PARAMETER 0xCA // Status #define STATUS_CONN_FAIL_MOSI #define STATUS_CONN_FAIL_RST #define STATUS_CONN_FAIL_SCK #define STATUS_TGT_NOT_DETECTED #define STATUS_ISP_READY #define STATUS_TGT_REVERSE_INSERTED // hw_status // Bits in ...

Page 53

PARAM_VTARGET #define PARAM_RESET_POLARITY #define PARAM_CONTROLLER_INIT #define PARAM_STATUS_TGT_CONN #define PARAM_DISCHARGEDELAY #define PARAM_SOCKETCARD_ID #define PARAM_ROUTINGCARD_ID #define PARAM_EXPCARD_ID #define PARAM_SW_MAJOR_SLAVE1 #define PARAM_SW_MINOR_SLAVE1 #define PARAM_SW_MAJOR_SLAVE2 #define PARAM_SW_MINOR_SLAVE2 #define PARAM_BOARD_ID_STATUS #define PARAM_RESET #define PARAM_JTAG_ALLOW_FULL_PAGE_STREAM #define PARAM_JTAG_EEPROM_PAGE_SIZE #define PARAM_JTAG_DAISY_BITS_BEFORE #define PARAM_JTAG_DAISY_BITS_AFTER #define PARAM_JTAG_DAISY_UNITS_BEFORE #define ...

Page 54

A.2 XPROG Commands and Parameters AVR079 54 // XPROMG commands #define XPRG_CMD_ENTER_PROGMODE #define XPRG_CMD_LEAVE_PROGMODE #define XPRG_CMD_ERASE #define XPRG_CMD_WRITE_MEM #define XPRG_CMD_READ_MEM #define XPRG_CMD_CRC #define XPRG_CMD_SET_PARAM // Memory types #define XPRG_MEM_TYPE_APPL #define XPRG_MEM_TYPE_BOOT #define XPRG_MEM_TYPE_EEPROM #define XPRG_MEM_TYPE_FUSE #define XPRG_MEM_TYPE_LOCKBITS #define XPRG_MEM_TYPE_USERSIG #define ...

Page 55

... Table 13-3. Interface descriptor Name bLength bDescriptorType bInterfaceNumber bAlternateSetting bNumEndpoints bInterfaceClass bInterfaceSubClass 0x01 0x02 Value Valid DEVICE 2.0 Vendor-specific Vendor-specific None 64 Atmel Corporation 0x2106 2 "STK600" Value Valid CONFIGURATION 32 bytes 0x80 500 mA Value Valid INTERFACE Vendor-specific Vendor-specific ...

Page 56

Table 13-4. Endpoint descriptor Table 13-5. Endpoint descriptor AVR079 56 Name bInterfaceProtocol iInterface Name bLength bDescriptorType bEndpointAddress bmAttributes wMaxPacketSize bInterval Name bLength bDescriptorType bEndpointAddress bmAttributes wMaxPacketSize bInterval Value None 0 Value Valid ENDPOINT 3 IN Types - Pkt Size Adjust ...

Page 57

Table of Contents 8133A-AVR-04/08 Features ............................................................................................... 1 1 Introduction ...................................................................................... 1 2 Overview ........................................................................................... 2 2.1 USB Communication ........................................................................................... 2 2.2 Packet Format ..................................................................................................... 2 2.3 USB Driver........................................................................................................... 2 2.4 Command format................................................................................................. 2 3 General Commands ......................................................................... 2 3.1 ...

Page 58

High Voltage Serial Programming Commands............................ 20 7 AVR8 JTAG..................................................................................... 25 8 AVR32 JTAG................................................................................... 29 AVR079 58 5.2 CMD_LEAVE_PROGMODE_PP ...................................................................... 15 5.3 CMD_CHIP_ERASE_PP................................................................................... 15 5.4 CMD_PROGRAM_FLASH_PP ......................................................................... 16 5.5 CMD_READ_FLASH_PP.................................................................................. 17 5.6 CMD_PROGRAM_EEPROM_PP ..................................................................... 18 5.7 CMD_READ_EEPROM_PP.............................................................................. 18 5.8 CMD_PROGRAM_FUSE_PP ...

Page 59

CMD_RESET_AVR32....................................................................................... 30 8.4 CMD_SAB_WRITE_AVR32 .............................................................................. 30 8.5 CMD_SAB_READ_AVR32................................................................................ 30 8.6 CMD_BLOCK_WRITE_AVR32 ......................................................................... 31 8.7 CMD_ BLOCK_READ_AVR32.......................................................................... 31 8.8 CMD_NEXUS_WRITE_AVR32......................................................................... 32 8.9 CMD_NEXUS_READ_AVR32 .......................................................................... 32 9 XPROG protocol............................................................................. 33 9.1 CMD_XPROG_SETMODE ............................................................................... 33 9.2 CMD_XPROG ................................................................................................... 33 9.2.1 XPRG_ENTER_PROGMODE................................................................................. ...

Page 60

XML Parameter Values ................................................................ 45 13 Command Sequence Example.................................................... 46 14 Table of Contents......................................................................... 57 Disclaimer.......................................................................................... 61 AVR079 60 11.17 PARAM_SW_MAJOR_SLAVE2.................................................................... 43 11.18 PARAM_SW_MINOR_SLAVE2 .................................................................... 43 11.19 PARAM2_RC_ID_TABLE_REV .................................................................... 43 11.20 PARAM2_EC_ID_TABLE_REV .................................................................... 43 11.21 PARAM_BOARD_ID_STATUS ..................................................................... 44 11.22 ...

Page 61

... BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’ ...

Related keywords