Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Data Sheet
Product codes
ATSTK600
AVR079
35
8133A-AVR-04/08
Table 9-9. Command format.
Offset Field
Size
Values
0 Command
ID
(1)
1
byte
XPRG_ENTER_PROGMODE
1 Parameter
(2)
1 byte
One of the XPRG_PARAM parameters
2 Value
(3)
1-4
Depends on the parameter.
Notes:
1. The command identifier
2. The parameter to set. See the appendix for the values.
3. The value’s size is depending on which parameter that is to be set.
Table 9-10. Answer format.
Offset Field
Size
Values
0 Command
ID
(1)
1
byte
XPRG_ENTER_PROGMODE
1 Status
(2)
1
byte
Notes:
1. The command identifier.
2. One of the defined error codes.
All parameters listed in the appendix must be set in order to initialize the interface.
NOTE: Later revisions of the XPROG programming protocol may introduce new
parameters.
parameters.
9.2.4 XPRG_ERASE
The XMega memories, fuses and lockbits can be erased at different levels: chip erase
(which clears all memories and the lockbits), application erase, boot erase and
EEPROM erase. There is also possible to erase single pages in flash and EEPROM
(which clears all memories and the lockbits), application erase, boot erase and
EEPROM erase. There is also possible to erase single pages in flash and EEPROM