Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 데이터 시트

제품 코드
ATSTK500
다운로드
페이지 37
 
AVR068 
2591C-AVR-06/06 
5.1.4 CMD_OSCCAL 
This command performs a calibration sequence as described in application note 
AVR053. 
Table 5-9. Command format 
Field  
Size 
Values 
Description 
Command ID 
1 byte 
CMD_OSCCAL 
Command id 
 
Table 5-10. Answer format 
Field  
Size 
Values 
Description 
Answer ID 
1 byte 
CMD_OSCCAL 
Answer id 
Status 1 
byte 
STATUS_CMD_OK or 
STATUS_CMD_FAILED 
A status value indicating 
success or failure. 
5.1.5 CMD_LOAD_ADDRESS 
This command will load an address into the STK500. 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 all programming modes. All the 
abovementioned commands will increment an internal address counter, so this 
command needs only to be sent once. 
Table 5-11. Command format 
Field  
Size 
Values 
Description 
Command ID 
1 byte 
CMD_LOAD_ADDRESS 
Command id 
Address 4 
bytes 
 
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 STK500 that a load 
extended address
 must be executed. See datasheet for devices with memories larger 
than 64KBytes. 
Table 5-12. Answer format if command succeeded 
Field  
Size 
Values 
Description 
Answer ID 
1 byte 
CMD_LOAD_ADDRESS 
Answer id 
Status 1 
byte 
STATUS_CMD_OK 
A status value indicating 
success