Техническая Спецификация для Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600

Модели
ATSTK600
Скачать
Страница из 61
 
AVR079
 
 
9
8133A-AVR-04/08 
Table 4-3. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_LEAVE_PROGMODE_IS
Command id 
preDelay 
1 byte 
XML: preDelay 
Pre-delay (in ms) 
PostDelay 
1 byte 
XML: postDelay Post-delay 
(in 
ms) 
 
Table 4-4. Answer format. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_LEAVE_PROGMODE_IS
Answer id 
Status 
1 byte 
STATUS_CMD_OK  
This command will always return 
STATUS_CMD_OK 
 
4.3 CMD_CHIP_ERASE_ISP 
This command will perform a chip erase on the target device. 
XML path: /AVRPART/ICE_SETTINGS/STK600/IspChipErase/ 
Table 4-5. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_CHIP_ERASE_ISP Command 
id 
eraseDelay 
1 byte 
XML: eraseDelay 
Delay (in ms) to ensure that the erase of the 
device is finished 
pollMethod 
1 byte 
XML: pollMethod 
Poll method, 0 = use delay 
1= use RDY/BSY command  
cmd1
(1)
 
1 byte 
 
Chip erase command byte #1  
cmd2
(1)
 
1 byte 
 
Chip erase command byte #2 
cmd3
(1)
 
1 byte 
 
Chip erase command byte #3 
cmd4
(1)
 
1 byte 
 
Chip erase command byte #4 
Notes: 
1.  cmd1, cmd2, cmd3 and cmd4 are the instruction bytes found in the SPI Serial Programming Instruction Set found in 
the device datasheet. 
 
Table 4-6. Answer format. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_CHIP_ERASE_ISP 
Answer id 
Status 1 
byte 
STATUS_CMD_OK or 
STATUS_CMD_TOUT 
A status value indicating the result of the 
operation 
 
4.4 CMD_PROGRAM_FLASH_ISP 
This command will program data into the FLASH memory of the target device if it 
succeeds.  
XML path: /AVRPART/ICE_SETTINGS/STK600/IspProgramFlash/