Datasheet

16
AVR068
2591C-AVR-06/06
Table 5-34. Answer format (same for all results)
Field Size Values Description
Answer ID 1 byte
CMD_ENTER_
PROGMODE_PP
Answer id
Status 1 byte See table below
A Result Value indicating the result of
the operation
Table 5-35. Valid Result Values for the answer to this command
Values Description
STATUS_CMD_OK Operation succeeded
STATUS_CMD_ FAILED Operation failed
5.3.2 CMD_LEAVE_PROGMODE_PP
This command will make the target device leave programming mode if it succeeds.
XML PATH: /AVRPART/ICE_SETTINGS/STK500_2/PpLeaveProgMode/
Table 5-36. Command format
Field Size Values Description
Command ID 1 byte
CMD_LEAVE_
PROGMODE_PP
Command id
stabDelay 1 byte XML: stabDelay Delay (in ms) used for pin stabilization
resetDelay 1 byte XML: resetDelay Delay (ms) for holding RESET low
Table 5-37. Answer format
Field Size Values Description
Answer ID 1 byte
CMD_LEAVE_
PROGMODE_PP
Answer id
Status 1 byte STATUS_CMD_OK
A Result Value indicating the result of
the operation
5.3.3 CMD_CHIP_ERASE_PP
This command will perform a chip erase on the target device if it succeeds.
XML PATH: /AVRPART/ICE_SETTINGS/STK500_2/PpChipErase/
Table 5-38. Command format
Field Size Values Description
Command ID 1 byte
CMD_CHIP_
ERASE_PP
Command id
pulseWidth 1 byte XML: pulseWidth
Width (in ms) of the /WR pulse. 0 => 1
cycle
pollTimeout 1 byte XML: pollTimeout
Timeout period (in ms) to wait for
RDY/BSY flag to rise. If 0, RDY/BSY
flag is NOT used.