Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Fiche De Données

Codes de produits
ATSTK600
Page de 61
 
14 
AVR079 
8133A-AVR-04/08 
Field Size 
Values 
Description 
NumTx 
1 byte 
0-255 
Number of bytes to transmit 
NumRx 
1 byte 
0-255 
Number of bytes to receive  
RxStartAddr 1 
byte 
 
Start address of returned data. Specifies on what 
transmitted byte the response is to be stored and 
returned. 
TxData 0-255 
bytes 
 
The data to be transmitted. The size is specified 
by NumTx  
 
If the number of bytes to receive is greater than number of bytes to transmit, then the 
firmware will pad with the necessary 0x00 bytes. This is in order to save time-
consuming transfer from PC to the programmer. 
Table 4-18. Answer format. 
Field Size 
Values 
Description 
Answer ID 
1 byte 
CMD_SPI_MULTI 
Answer id 
Status1 
1 byte 
STATUS_CMD_OK 
Will always read OK 
data 0-255 
bytes 
 
The data read from the ISP bus as indicated in 
the command 
Status2 
1 byte 
STATUS_CMD_OK 
Will always read OK 
 
5 Parallel Programming Mode Commands 
5.1 CMD_ENTER_PROGMODE_PP 
This command will make the target device enter programming mode if it succeeds. 
XML PATH: /AVRPART/ICE_SETTINGS/STK600/PpEnterProgMode/ 
Table 5-1. Command format. 
Field Size 
Values 
Description 
Command ID 
1 byte 
CMD_ENTER_PROGMODE_PP 
Command id 
stabDelay 
1 byte 
XML: stabDelay 
Delay (in ms) used for pin stabilization 
progModeDelay 
1 byte 
XML: progModeDelay 
Delay (in ms) in connection with the EnterProgMode 
command execution 
latchCycles 
1 byte 
XML: latchCycles 
Number of xtal cycles used to latch OSCCAL 
toggleVtg 
1 byte 
XML: toggleVtg 
Toggle Vtg when entering prog.mode (0=no, 1=yes). For 
parts with RSTDSBL functionality 
powerOffDelay 
1 byte 
XML: powerOffDelay 
Power-off delay. Additional delay (in ms) after Vtg is turned 
off in order to make sure the Vtg is low enough 
resetDelayMs 
1 byte 
XML: resetDelayMs 
RSTDELAY #1 (in ms) Additional delay between Vtg is 
turned on and reset goes high.  
resetDelayUs 
1 byte 
XML: resetDelayUs 
RSTDELAY #2(in us x 10) Additional delay between Vtg is 
turned on and reset goes high. Total delay is RSTDELAY 
#1 (ms) + RSTDELAY #2 (us x 10)