Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 データシート

製品コード
ATSTK600
ページ / 61
 
AVR079
 
 
3
8133A-AVR-04/08 
Table 3-1. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_SIGN_ON 
Command id 
 
Table 3-2. Answer format. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_SIGN_ON 
Answer id 
Status 1 
byte 
STATUS_CMD_OK 
 
Signature length 
1 byte 
Length of signature string 
 
8 bytes 
“STK600” 
The signature string (not null-terminated) 
 
3.2 CMD_SET_PARAMETER 
The host can set a multitude of parameters in the STK600. See th11 Parameters for 
a description of each parameter.  
Table 3-3. Command format for one byte values. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_SET_PARAMETER Command 
id 
Parameter ID 
1 byte 
 
Which parameter to set 
Value 
1 byte 
 
Parameter new value 
 
Table 3-4. Command format for two byte values. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_SET_PARAMETER Command 
id 
Parameter ID 
1 byte 
 
Which parameter to set 
Value 
1 byte 
 
Parameter new value high byte 
Value 
1 byte 
 
Parameter new value low byte 
 
Table 3-5. Command format for two byte values. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_SET_PARAMETER 
Answer id 
Status 1 
byte 
STATUS_CMD_OK or 
STATUS_CMD_FAILED 
A status value indicating the result of the 
operation 
 
3.3 CMD_GET_PARAMETER 
The host can also read different parameters from the STK600.  
Table 3-6. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_GET_PARAMETER 
Command id 
Parameter ID 
1 byte 
 
Which parameter to get