Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 Data Sheet

Product codes
ATSTK500
Page of 31
4
AVR061 
2525B–AVR–04/03
Get Parameter Value
Get the value of a valid parameter from the STK500 starterkit. If the parameter is not
used, the same parameter will be returned together with a Resp_STK_FAILED
response to indicate the error. See the parameters section for valid parameters and their
meaning.
Command
Cmnd_STK_GET_PARAMETER, parameter, Sync_CRC_EOP
Command Value
0x41
Response
Resp_STK_INSYNC, value, Resp_STK_OK 
or
Resp_STK_INSYNC, parameter, Resp_STK_FAILED 
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Set Parameter Value
Set the value of a valid parameter in the STK500 starterkit. See the parameters section
for valid parameters and their meaning.
Command
Cmnd_STK_SET_PARAMETER, parameter, value, Sync_CRC_EOP
Command Value
0x40
Response
Resp_STK_INSYNC, Resp_STK_OK
or
Resp_STK_INSYNC, parameter, Resp_STK_FAILED 
or
Resp_STK_NOSYNC (If no Sync_CRC_EOP received)
Table 3.  Parameters
Parameter Name
Field Usage
Field Format
parameter
Any valid parameter as defined in “command.h”
1 byte (0x00 - 0x7F)
value
Any 8-bit value
1 byte (0x00 - 0xFF)
Table 4.  Parameters
Parameter Name
Field Usage
Field Format
parameter
Any valid parameter as defined in COMMON.H
1 byte (0x00 - 0x7F)
value
Any 8-bit value
1 byte (0x00 - 0xFF)