Field
Answer ID
Status
Size
1 byte
1 byte
Values
CMD_CHIP_ERASE_PP
See table below
Description
Answer id
A Result Value indicating the result of the
operation
Table 5-8. Valid Result Values for the answer to this command.
Value
STATUS_CMD_OK
STATUS_RDY_BSY_TOUT
Description
Operation succeeded
No response from target device within specified
timeframe
5.4 CMD_PROGRAM_FLASH_PP
This command will program data into the FLASH memory of the target device if it
succeeds. For devices with the FLASH organized in pages, the data address and size
used with this command must confirm to that of the device. I.e. one ProgramFlash
command is used to program one page in the target device.
XML PATH: /AVRPART/ICE_SETTINGS/STK600/PpProgramFlash/
Table 5-9. Command format.
Field
Command ID
Nmb bytes (MSB
Nmb bytes (LSB)
Size
1 byte
1 byte
1 byte
Values
CMD_PROGRAM_FLASH_PP
Description
Command id
Total number of bytes to program (MSB)
Total number of bytes to program (LSB)
Mode
(1)
1 byte
XML: mode, *see description
Mode byte, *see description below
below
pollTimeout
Data
Data
Data
1 byte
1 byte
1 byte
1 byte
XML: pollTimeout
Data 1
...
Data N
pollTimeout (in ms)
Notes:
16
1. See details in list below.
Mode byte description
? Bit 0: This bit indicates whether to use byte ‘0’ or page ‘1’ programming.
? Bit 1-3 are the pagesize bits, pagesize are given in bytes not words, see table
below.
? Bit 4-5 are not in use.
? Bit 6 must be set to ‘1’ when it is the very last page to be programmed, otherwise
‘0’.
? Bit 7 indicates if a page write should be issued ( Transfer data to flash ). Normally it
should always be set ‘1’. However, if the page size of the target device is too large
to be covered by one Program Flash command (because the amount of available
SRAM in STK600 is limited) this can be used to let 2 or more commands fill the
page buffer of the target device. The transfer data to flash flag should then only be
set on the last command.
AVR079
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