Datasheet

7
AVR061
2525B–AVR–04/03
Enter Program Mode Enter Programming mode for the selected device. The Programming mode and device
programming parameters must have been set by Cmnd_STK_SET_DEVICE prior to
calling this command, or the command will fail with a Resp_STK_NODEVICE response.
Command Cmnd_STK_ENTER_PROGMODE, Sync_CRC_EOP
Command Value 0x50
Response Resp_STK_INSYNC, Resp_STK_OK
or
Resp_STK_INSYNC, Resp_STK_NODEVICE
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Leave Program Mode Leave programming mode.
Command Cmnd_STK_LEAVE_PROGMODE, Sync_CRC_EOP
Command Value 0x51
Response Resp_STK_INSYNC, Resp_STK_OK
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Parameters:
Chip Erase Erase device.
Command Cmnd_STK_CHIP_ERASE, Sync_CRC_EOP
Command Value 0x52
Response Resp_STK_INSYNC, Resp_STK_OK
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Table 7. Parameters
Parameter Name Field Usage Field Format
(No parameter)
Table 8. Parameters
Parameter Name Field Usage Field Format
(No parameter)
Table 9. Parameters
Parameter Name Field Usage Field Format
(No parameter)