AVR079
devices with page size bigger than what can be transferred to STK600 in one
command, several CMD_PROGRAM_FLASH_ISP commands must be issued. In
such a case, only the last command should have the Write Page mode bit set.
NOTE: Only bit 0-6 are set in the XML file, because bit 7 is not constant and must be
controlled by the PC software.
When value polling is used to determine when a programming operation is complete,
poll1 must be supplied. This value indicates which value will be read from the device
until the programmed value is read. This indicates end of programming. poll2 is used
only for EEPROM programming.
Table 4-9. Answer format.
Field
Answer ID
Status
Size
1 byte
1 byte
Values
CMD_PROGRAM_FLASH_ISP
STATUS_CMD_OK,
STATUS_CMD_TOUT,
Description
Answer id
A status value indicating the result of the
operation
STATUS_RDY_BSY_TOUT
4.5 CMD_READ_FLASH_ISP
This command will read data from the FLASH memory of the target device if it
succeeds.
XML path: /AVRPART/ICE_SETTINGS/ STK600/IspReadFlash/
Table 4-10. Command format.
Field
Command ID
NumBytes
cmd1
Size
1 byte
2 byte
1 byte
Values
CMD_READ_FLASH_ISP
XML: blockSize
Description
Command id
Total number of bytes to read, MSB first
Read Program Memory command byte #1.
Low/High byte selection bit (3 bit) is handled in
rd
the FIRMWARE.
Table 4-11. Answer format if the command was executed.
Field
Answer ID
Status1
Data
Status2
Size
1 byte
1 byte
N bytes
1 byte
Values
CMD_PROGRAM_FLASH_ISP
STATUS_CMD_OK
STATUS_CMD_OK
Description
Answer id
Indicates success. Will always read OK
The data read from the device
A status value indicating the result of the
operation. Will always read OK
Table 4-12. Answer format if the command was executed.
Field
Answer ID
Status
Size
1 byte
1 byte
Values
CMD_PROGRAM_FLASH_ISP
STATUS_CMD_FAILED
Description
Answer id
Indicates failure
11
8133A-AVR-04/08
相关PDF资料
ATXMEGAB1-XPLD KIT EVAL FOR ATXMEGAB1
AUIR2085S IC DVR HALF-BRDG SELF OSC 8SOIC
AUIRS2003S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2004S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2112S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2113S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2118S IC DRIVER HIGH SIDE SGL 8SOIC
AUIRS2123S IC DRIVER HIGH SIDE 600V 8SOIC
相关代理商/技术参数
ATSTK600-ATMEGA2560 功能描述:插座和适配器 STK600 DEVICECARD ATMEGA2560 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-ATTINY10 功能描述:插座和适配器 STK600 adaptercard for ATtiny10 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-DIP40 功能描述:插座和适配器 SOCKET ADAPTER CARD FOR ATSTK600 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-LCD160 功能描述:子卡和OEM板 STK600 LCD EXTENSION CARD FOR megaAVR RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-LCDX 功能描述:子卡和OEM板 STK600 LCD FOR XMEGAB RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-RC01 功能描述:插座和适配器 STK600 ROUTINGCARD RC020T-1 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC02 功能描述:插座和适配器 STK600 ROUTINGCARD RC008T-2 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC03 功能描述:插座和适配器 STK600 ROUTINGCARD PDIP28 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x