Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Ficha De Dados

Códigos do produto
ATSTK600
Página de 61
 
AVR079
 
 
5
8133A-AVR-04/08 
Table 3-12. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_LOAD_ADDRESS 
Command id 
Address 
4 byte 
 
The address, four bytes, MSB first 
 
For word-addressed memories (program flash), the Address parameter is the word 
address. 
If bit 31 is set, this indicates that the following read/write operation will be performed 
on a memory that is larger than 64KBytes. This is an indication to STK600 that a load 
extended address
 must be executed. See datasheet for devices with memories larger 
than 64KBytes. 
Table 3-13. Answer format if command succeeded. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_LOAD_ADDRESS 
Answer id 
Status 1 
byte 
STATUS_CMD_OK 
status value indicating success 
 
3.6 CMD_FIRMWARE_UPGRADE 
When the host is trying to connect to the programmer, it checks the firmware version. 
A firmware upgrade is initiated if a newer version is available on the PC. 
The STK600 can “reboot” into upgrade mode by using this command 
Table 3-14. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_FIRMWARE_UPGRADE 
Command id 
Parameter ID 
10 bytes 
”fwupgrade” 
String to enable upgrade mode 
 
Table 3-15. 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 
A status value indicating the result of the 
operation 
 
If the status returned is STATUS_CMD_OK, the STK600 will disconnect and enter 
upgrade mode. 
3.7 CMD_LOAD_RC_ID_TABLE 
This command sends the Routing Card boardID table to the STK600 FW. Each row in 
this table holds first the RC_id, then the SC_id (allowed to use with that RC) and then 
the MAX_VTG allowed for that routingcard.  
The two first bytes of the table hold the revision of the table. MSB first.