Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Data Sheet
Product codes
ATSTK600
AVR079
15
8133A-AVR-04/08
Table 5-2. 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
operation
Table 5-3. Valid Result Values for the answer to this command.
Value Description
STATUS_CMD_OK Operation
succeeded
STATUS_CMD_ FAILED
Operation failed
5.2 CMD_LEAVE_PROGMODE_PP
This command will make the target device leave programming mode if it succeeds.
XML PATH: /AVRPART/ICE_SETTINGS/STK600/PpLeaveProgMode/
Table 5-4. 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-5. 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
operation
5.3 CMD_CHIP_ERASE_PP
This command will perform a chip erase on the target device if it succeeds.
XML PATH: /AVRPART/ICE_SETTINGS/STK600/PpChipErase/
Table 5-6. 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.
to rise. If 0, RDY/BSY flag is NOT used.
Table 5-7. Answer format (same for all results).
Field Size
Values
Description