Datasheet
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/