Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 데이터 시트

제품 코드
ATSTK500
다운로드
페이지 37
 
AVR068
 
 
7
2591C-AVR-06/06 
5.1.6 CMD_FIRMWARE_UPGRADE 
When the host is trying to connect to the programmer, it checks the firmware version. 
A firmware upgrade is initiated if a newer version is available on the PC. 
The STK500 can “reboot” into upgrade mode by using this command. (If the 
PROGRAM button on STK500 is pressed while turning on power, upgrade mode is 
also entered.) 
Table 5-13. Command format 
Field  
Size 
Values 
Description 
Command ID 
1 byte 
CMD_FIRMWARE_UPGRADE 
Command id 
Parameter ID 
10 bytes 
”fwupgrade” 
String to enable upgrade 
mode 
 
Table 5-14. Answer format 
Field  
Size 
Values 
Description 
Answer ID 
1 byte 
CMD_FIRMWARE_UPGRADE 
Answer id 
Status 1 
byte 
STATUS_CMD_OK or 
STATUS_CMD_FAILED 
A status value indicating 
the result of the operation 
 
If the status returned is STATUS_CMD_OK, the STK500 will disconnect and enter 
upgrade mode. 
5.2 ISP Programming Commands 
These commands handles FLASH, EEPROM, fuse bytes, lock bits, signature and 
oscillator calibration programming in ISP mode. 
5.2.1 CMD_ENTER_PROGMODE_ISP 
This command will make the target device enter programming mode. 
XML path: /AVRPART/ICE_SETTINGS/STK500_2/IspEnterProgMode/