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

製品コード
ATSTK600
ページ / 61
 
AVR079
 
 
39
8133A-AVR-04/08 
Table 9-18. Answer format. 
Offset Field 
Size 
Values 
0 Command 
ID
(1)
 1 
byte 
XPRG_READ_CRC 
1 Status
(2)
 1 
byte 
 
2 Data
(3)
 
3 bytes 
CRC value 
Notes: 
1.  The command identifier. 
2.  One of the defined error codes. 
3.  The CRC value calculated by the device itself. 
 
10 Return Values 
This section describes all possible return values and their meaning in detail. 
10.1 Success 
Table 10-1. Return values 
Value Meaning 
STATUS_CMD_OK 
Command executed OK 
 
10.2 Warnings 
All warnings have MSB set to 1 and MSB-1 set to 0. 
Table 10-2. Return values 
Value Meaning 
STATUS_CMD_TOUT 
Command timed out 
STATUS_RDY_BSY_TOUT 
Sampling of the RDY/nBSY pin timed out 
STATUS_SET_PARAM_MISSING  The ‘Set Device Parameters’ have not been executed in 
advance of this command 
 
10.3 Errors 
All errors have MSB and MSB-1 set to 1. 
Table 10-3. Return values 
Value Meaning 
STATUS_CMD_FAILED Command 
failed 
STATUS_CKSUM_ERROR Checksum 
Error 
STATUS_CMD_UNKNOWN Unknown 
command 
 
11 Parameters 
The following parameters can be read and/or written by the CMD_GET_PARAM and 
CMD_SET_PARAM commands: