Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 Hoja De Datos
Los códigos de productos
ATSTK500
AVR068
13
2591C-AVR-06/06
5.2.8 CMD_PROGRAM_FUSE_ISP
This command programs the fuses of the target device.
Table 5-27. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_PROGRAM_FUSE_ISP
Command id
cmd1
1 byte
Command Byte #1
cmd2
1 byte
Command Byte #2
cmd3
1 byte
Command Byte #3
cmd4
1 byte
Command Byte #4
Note:
cmd1, cmd2, cmd3 and cmd4 are the four bytes of the low-level program fuse ISP
command
command
Table 5-28. Answer format
Field
Size
Values
Description
Answer ID
1 byte
CMD_PROGRAM_FUSE_ISP
Answer id
Status1
1 byte
STATUS_CMD_OK
Will always read OK
Status2
1 byte
STATUS_CMD_OK
Will always read OK
5.2.9 CMD_READ_FUSE_ISP
This command reads the fuses of the target device.
Table 5-29. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_READ_FUSE_ISP
Command id
RetAddr
1 byte
XML: pollIndex
Return address
cmd1
1 byte
Command Byte #1
cmd2
1 byte
Command Byte #2
cmd3
1 byte
Command Byte #3
cmd4
1 byte
Command Byte #4
Note:
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)
the return byte, as the SPI interface is implemented as a ring buffer (one byte out,
one byte in)