Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 Hoja De Datos
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Los códigos de productos
ATSTK500
12
AVR068
2591C-AVR-06/06
5.2.5 CMD_READ_FLASH_ISP
This command will read data from the FLASH memory of the target device if it
succeeds.
succeeds.
XML path: /AVRPART/ICE_SETTINGS/STK500_2/IspReadFlash/
Table 5-24. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_READ_FLASH_ISP
Command id
NumBytes
2 byte
XML: blockSize
Total number of bytes to read, MSB
first
first
cmd1 1
byte
Read Program Memory command
byte #1. Low/High byte selection bit
(3
byte #1. Low/High byte selection bit
(3
rd
bit) is handled in the FIRMWARE.
Table 5-25. Answer format if the command is executed
Field
Size
Values
Description
Answer ID
1 byte
CMD_READ_FLASH_ISP
Answer id
Status1 1
byte
STATUS_CMD_OK
Indicates success. Will always
read OK
read OK
Data
N bytes
The data read from the device
Status2 1
byte
STATUS_CMD_OK
A status value indicating the
result of the operation. Will
always read OK
result of the operation. Will
always read OK
Table 5-26. Answer format if the command was not executed
Field
Size
Values
Description
Answer ID
1 byte
CMD_READ_FLASH_ISP
Answer id
Status
1 byte
STATUS_CMD_FAILED
Indicates failure
5.2.6 CMD_PROGRAM_EEPROM_ISP
See the CMD_PROGRAM_FLASH_ISP command.
5.2.7 CMD_READ_EEPROM_ISP
See the CMD_READ_FLASH_ISP command.