Техническая Спецификация для Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600

Модели
ATSTK600
Скачать
Страница из 61
 
AVR079
 
 
31
8133A-AVR-04/08 
Table 8-10. Answer format. 
Field Size 
Values 
Description 
Answer id 
1 byte 
CMD_JTAG_AVR32 
Answer id 
status 1 
byte 
RSP_FAILED 
RSP_SCAN_CHAIN_READ 
 
data 
4 bytes 
 
If RSP_SCAN_CHAIN_READ 
 
8.6 CMD_BLOCK_WRITE_AVR32 
This command writes a block of data starting at the specified SAB address. N should 
be less than 64 to comply with the maximum data buffer of STK600. 
Table 8-11. Command format. 
Field Size 
Values 
Description 
AVR32JTAG id 
1 byte 
CMD_JTAG_AVR32 
Command id (0x80) 
ICE command 
1 byte 
CMND_JTAG_ BLOCK_WRITE 
(0x2d) 
 
count 
1 byte 
Number of words < 64 
SAB address 
8 bytes 
 
0 padded, msb first 
data 
n * 4 bytes 
 
 
 
Table 8-12. Answer format. 
Field Size 
Values 
Description 
Answer id 
1 byte 
CMD_JTAG_AVR32 
Answer id 
Status 1 
byte 
RSP_OK 
RSP_FAILED 
RSP_ILLEGAL_VALUE 
 
 
8.7 CMD_ BLOCK_READ_AVR32 
This command reads a block of data starting at the specified SAB address. N should 
be less than 64 to comply with the maximum data buffer of STK600 
Table 8-13. Command format. 
Field Size 
Values 
Description 
AVR32JTAG id 
1 byte 
CMD_JTAG_AVR32 
Command id (0x80) 
ICE command 
1 byte 
CMND_JTAG_BLOCK_READ (0x2c)   
Count 
1 byte 
Number of words 
SAB address 
5 bytes