AVR079
9 XPROG protocol
The XPROG programming protocol is used with the ATxmega devices, and can use
both JTAG and PDI as the physical interface.
All multi-byte values (e.g. address and length fields) are big endian.
9.1 CMD_XPROG_SETMODE
Before using any of the XPROG commands, the descried XPROG interface must be
selected. This can either be PDI or JTAG.
Table 9-1. Command format.
Command ID
Offset
0
Field
(1)
Size
1 byte
Values
CMD_XPROG_SETMODE
1
Mode
(2)
1 byte
0 = PDI mode, 1 = JTAG mode
Notes:
1.
2.
The command identifier.
Set which of the physical interfaces to use: 0 = PDI, 1 = JTAG.
Table 9-2. Answer format.
Command ID
Offset
0
Field
(1)
Size
1 byte
Values
CMD_XPROG_SETMODE
1
Status
(2)
1 byte
Notes:
1.
2.
The command identifier.
One of the defined error codes. XPRG_ERR_OK indicates success.
9.2 CMD_XPROG
This is STK600’s wrapper command for all XPROG specific commands.
Table 9-3. Command format.
Command ID
Offset
0
Field
(1)
Size
1 byte
Values
CMD_XPROG
1
XPROG Command
(2)
n bytes
Any XPROG command
Notes:
1.
2.
The command identifier.
This part of the STK600 command contains the XPROG command.
Table 9-4. Answer format.
Command ID
Offset
0
1
Notes:
1.
Field
(1)
XPROG answer (2)
The command identifier.
Size
1 byte
n byte
Values
CMD_XPROG
Any XPROG command’s answer
2.
The answer for the XPROG command is placed in this filed. The length of the field is depending on the XPROG
command.
33
8133A-AVR-04/08
相关PDF资料
ATXMEGAB1-XPLD KIT EVAL FOR ATXMEGAB1
AUIR2085S IC DVR HALF-BRDG SELF OSC 8SOIC
AUIRS2003S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2004S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2112S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2113S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2118S IC DRIVER HIGH SIDE SGL 8SOIC
AUIRS2123S IC DRIVER HIGH SIDE 600V 8SOIC
相关代理商/技术参数
ATSTK600-ATMEGA2560 功能描述:插座和适配器 STK600 DEVICECARD ATMEGA2560 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-ATTINY10 功能描述:插座和适配器 STK600 adaptercard for ATtiny10 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-DIP40 功能描述:插座和适配器 SOCKET ADAPTER CARD FOR ATSTK600 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-LCD160 功能描述:子卡和OEM板 STK600 LCD EXTENSION CARD FOR megaAVR RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-LCDX 功能描述:子卡和OEM板 STK600 LCD FOR XMEGAB RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-RC01 功能描述:插座和适配器 STK600 ROUTINGCARD RC020T-1 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC02 功能描述:插座和适配器 STK600 ROUTINGCARD RC008T-2 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC03 功能描述:插座和适配器 STK600 ROUTINGCARD PDIP28 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x