Datasheet

AVR079
27
8133A-AVR-04/08
Table 7-5. Answer format.
Field Size Values Description
Answer id 1 byte CMD_JTAG_AVR Answer id
Status 1 byte
STATUS_CMD_OK
STATUS_CMD_FAILED
Data n bytes Payload if STATUS_CMD_OK
7.1.2 CMND_WRITE_MEMORY
This commands writes a specified amount of bytes to the chosen target MCU
memory. The target MCU must be in programming mode
(CMND_ENTER_PROGMODE) before issuing this command.
Table 7-6. Command format.
Field Size Values Description
AVR8JTAG id 1 byte CMD_JTAG_AVR Command id
Message ID 1 byte
CMND_WRITE_MEMORY
(0x04)
Memory type 1 byte JTAGC_MemType_xxxx See table above
Byte count 4 bytes Lsb first Number of bytes to write
Start address 4 bytes Lsb first Start memory address
Data n bytes data Byte count bytes of data
Table 7-7. Answer format.
Field Size Values Description
Answer id 1 byte CMD_JTAG_AVR Answer id
Status 1 byte
STATUS_CMD_OK
STATUS_CMD_TOUT
STATUS_CMD_FAILED
7.1.3 CMND_RESET
This command will place the RESET instruction into the JTAG instruction register.
The target MCU must be in programming mode (CMND_ENTER_PROGMODE)
before issuing this command.
Table 7-8. Command format.
Field Size Values Description
AVR8JTAG id 1 byte CMD_JTAG_AVR Command id
Message ID 1 byte CMND_RESET (0x0B)
Table 7-9. Answer format.
Field Size Values Description
Answer id 1 byte CMD_JTAG_AVR Answer id
Status 1 byte STATUS_CMD_OK