Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 Hoja De Datos
Los códigos de productos
ATSTK500
AVR068
21
2591C-AVR-06/06
5.3.14 CMD_SET_CONTROL_STACK
Uploads the control stack to the STK. This is used for both PP and HVSP.
Note:
The Control stack must always be uploaded before performing any programming
commands in high voltage mode if the STK500 has been powered down.
commands in high voltage mode if the STK500 has been powered down.
To check if the controller has a valid control stack: Read
PARAM_CONTROLLER_INIT
PARAM_CONTROLLER_INIT
Se chapter 5.7.14: PARAM_CONTROLLER_INIT
Table 5-52. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_SET_CONTROL_
STACK
STACK
Command id
Data
32 bytes
Control stack Data
Table 5-53. Answer format (same for all results)
Field
Size
Values
Description
Answer ID
1 byte
CMD_SET_CONTROL_
STACK
STACK
Answer id
Status 1
byte
STATUS_CMD_OK
A Result Value indicating the result
of the operation
of the operation
5.4 High Voltage Serial Programming Commands
This chapter describes the High Voltage Serial Programming (HVSP) commands.
Note that the SetControlStack command is required for HVSP as for PP. Description
of the SetControlStack is found in section 5.3.14 under Parallel Programming.
Note that the SetControlStack command is required for HVSP as for PP. Description
of the SetControlStack is found in section 5.3.14 under Parallel Programming.
5.4.1 CMD_ENTER_PROGMODE_HVSP
This command will make the target device enter programming mode if it succeeds.
XML path: /AVRPART/ICE_SETTINGS/STK500_2/HvspEnterProgMode/