Datasheet

AVR068
15
2591C-AVR-06/06
Table 5-32. 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.3 Parallel Programming Mode Commands
5.3.1 CMD_ENTER_PROGMODE_PP
This command will make the target device enter programming mode if it succeeds.
XML PATH: /AVRPART/ICE_SETTINGS/STK500_2/PpEnterProgMode/
Table 5-33. 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)