Datasheet

14
AVR061
2525B–AVR–04/03
Read Page Read a block of data from FLASH or EEPROM of the current device. The data block
size should not be larger than 256 bytes.
Command Cmnd_STK_READ_PAGE, bytes_high, bytes_low, memtype, Sync_CRC_EOP
Command Value 0x74
Response Resp_STK_INSYNC, data, Resp_STK_OK
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Read Signature Bytes Read signature bytes.
Command Cmnd_STK_READ_SIGN, Sync_CRC_EOP
Command Value 0x75
Response Resp_STK_INSYNC, sign_high, sign_middle, sign_low, Resp_STK_OK
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Table 23. Parameters
Parameter Name Field Usage Field Format
bytes_high High byte of data block size 1 byte
bytes_low Low byte of data block size 1 byte
memtype Memory type: “E” – EEPROM, “F” – FLASH 1 byte
data Data to program into FLASH or EEPROM. If
programming to FLASH, the sequence of data is
lowbyte:highbyte.
((bytes_high << 8)
| bytes_low) bytes.
Table 24. Parameters
Parameter Name Field Usage Field Format
sigh_high High byte of signature 1 byte
sign_middle Middle byte of signature 1 byte
sign_low Low byte of signature 1 byte