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

제품 코드
ATSTK500
다운로드
페이지 37
 
22 
AVR068 
2591C-AVR-06/06 
Table 5-54. Command format 
Field  
Size 
Values 
Description 
Command ID 
1 byte 
CMD_ENTER_ 
PROGMODE_HVSP 
Command id 
StabDelay 
1 byte 
XML: stabDelay 
Delay (in ms) used for pin stabilization 
CmdexeDela
1 byte 
XML: cmdexeDelay 
Delay (in ms) in connection with the 
EnterProgMode command execution 
SynchCycles 
1 byte 
XML: synchCycles 
Number of synchronization clock 
cycles 
LatchCycles 
1 byte 
XML: latchCycles 
Number of PulseXtal1_HVSP cycles 
ToggleVtg 
1 byte 
XML: toggleVtg 
Toggle Vtg when entering prog.mode 
(0=no, 1=yes). For parts with 
RSTDSBL functionality 
PowoffDelay 
1 byte 
XML: powoffDelay 
Power-off delay. Additional delay (in 
ms) after Vtg is turned off in order to 
make sure the Vtg is low enough 
resetDelay1 
1 byte 
XML: resetDelay1 
RSTDELAY #1 (in ms) Additional delay 
between Vtg is turned on and reset 
goes high. 
resetDelay2 
1 byte 
XML: resetDelay2 
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) 
 
Table 5-55. Answer format 
Field  
Size 
Values 
Description 
Answer ID 
1 byte 
CMD_ENTER_ 
PROGMODE_HVSP 
Answer id 
Status 1 
byte 
STATUS_CMD_OK or 
STATUS_CMD_FAILED 
Result Value indicating the result of 
the operation. If failed the target 
voltage is >5.5V or <4.5V 
5.4.2 CMD_LEAVE_PROGMODE_HVSP 
This command will make the target device leave programming mode if it succeeds. 
XML path: /AVRPART/ICE_SETTINGS/STK500_2/HvspLeaveProgMode/ 
Table 5-56. Command format 
Field  
Size 
Values 
Description 
Command ID 
1 byte 
CMD_LEAVE_ 
PROGMODE_HVSP 
Command id 
stabDelay 
1 byte 
XML: stabDelay 
Delay (in ms) used for pin stabilization 
resetDelay 
1 byte 
XML: resetDelay 
Delay (in ms) in connection with the 
LeaveProgMode command execution 
and Reset_low_duration