Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Fiche De Données

Codes de produits
ATSTK600
Page de 61
 
30 
AVR079 
8133A-AVR-04/08 
8.3 CMD_RESET_AVR32 
This command places the given reset value into the JTAG reset register of the target 
MCU. 
Table 8-5. Command format. 
Field Size 
Values 
Description 
AVR32JTAG id 
1 byte 
CMD_JTAG_AVR32 
Command id (0x80) 
ICE command 
1 byte 
CMND_AVR32_RESET (0x2b) 
 
Reset value 
1 byte 
MCU specific 
Reset value 
 
Table 8-6. Answer format. 
Field Size 
Values 
Description 
Answer id 
1 byte 
CMD_JTAG_AVR32 
Answer id 
status 1 
byte 
STATUS_CMD_OK 
 
 
8.4 CMD_SAB_WRITE_AVR32 
This command writes a word to the given SAB address in the target MCU 
Table 8-7. Command format. 
Field Size 
Values 
Description 
AVR32JTAG id 
1 byte 
CMD_JTAG_AVR32 
Command id (0x80) 
ICE command 
1 byte 
CMND_JTAG_SAB_WRITE (0x28) 
 
SAB address 
5 bytes 
Sab address  
(msb first) 
Data 
4 bytes 
 
(msb first) 
 
Table 8-8. Answer format. 
Field Size 
Values 
Description 
Answer id 
1 byte 
CMD_JTAG_AVR32 
Answer id 
status 1 
byte 
RSP_OK 
RSP_FAILED 
 
 
8.5 CMD_SAB_READ_AVR32 
This command reads a word from the given SAB address from the target MCU. 
Table 8-9. Command format. 
Field Size 
Values 
Description 
AVR32JTAG id 
1 byte 
CMD_JTAG_AVR32 
Command id (0x80) 
ICE command 
1 byte 
CMND_JTAG_SAB_READ (0x29) 
 
SAB address 
5 bytes 
 
(msb first)