Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 データシート
製品コード
ATSTK600
4
AVR079
8133A-AVR-04/08
Table 3-7. Answer format for one byte values 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
Parameter value
1 byte
The parameter value
Table 3-8. Answer format for two byte values 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
Parameter value
1 byte
The parameter value high byte
Parameter value
1 byte
The parameter value low byte
Table 3-9. 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 only reason for the operation to fail is that an illegal parameter is requested.
3.4 CMD_OSCCAL
This command performs a calibration sequence as described in application note
AVR053
AVR053
Table 3-10. Command format.
Field Size
Values
Description
Command ID
1 byte
CMD_OSCCAL
Command id
Table 3-11. Answer format if command succeeded.
Field Size
Values
Description
Answer ID
1 byte
CMD_OSCCAL
Answer id
Status 1
byte
STATUS_CMD_OK or
STATUS_CMD_FAILED
STATUS_CMD_FAILED
A status value indicating success or failure.
3.5 CMD_LOAD_ADDRESS
This command will load an address into the STK600. The next Program Flash, Read
Flash, Program EEPROM or Read EEPROM command will operate from the address
set with this command. The command is used in conjunction with high voltage parallel
programming, high voltage serial programming and low voltage serial programming.
All the abovementioned commands will increment an internal address counter, so this
command needs only to be sent once.
Flash, Program EEPROM or Read EEPROM command will operate from the address
set with this command. The command is used in conjunction with high voltage parallel
programming, high voltage serial programming and low voltage serial programming.
All the abovementioned commands will increment an internal address counter, so this
command needs only to be sent once.