Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 데이터 시트
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
제품 코드
ATSTK500
AVR068
5
2591C-AVR-06/06
5.1.2 CMD_SET_PARAMETER
The host can set a multitude of parameters in the STK500. See 5.7 Parameters for a
description of each parameter. All parameters are one-byte values.
description of each parameter. All parameters are one-byte values.
Table 5-4. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_SET_PARAMETER
Command id
Parameter ID
1 byte
Which parameter to set
Value
1 byte
The parameter’s new value
Table 5-5. Answer format
Field
Size
Values
Description
Answer ID
1 byte
CMD_SET_PARAMETER
Answer id
Status 1
byte
STATUS_CMD_OK or
STATUS_CMD_FAILED
STATUS_CMD_FAILED
A status value indicating the
result of the operation
result of the operation
5.1.3 CMD_GET_PARAMETER
The host can also read different parameters from the STK500.
Table 5-6. Command format
Field
Size
Values
Description
Command ID
1 byte
CMD_GET_PARAMETER
Command id
Parameter ID
1 byte
Which parameter to get
Table 5-7. Answer format if command succeeded
Field
Size
Values
Description
Answer ID
1 byte
CMD_GET_PARAMETER
Answer id
Status 1
byte
STATUS_CMD_OK
A status value indicating
success
success
Parameter value
1 byte
The parameter value
Table 5-8. Answer format if command fails
Field
Size
Values
Description
Answer ID
1 byte
CMD_GET_PARAMETER
Answer id
Status
1 byte
STATUS_CMD_ FAILED
A status value indicating that
the operation failed.
the operation failed.