Datasheet
6
AVR061
2525B–AVR–04/03
Set Extended Device
Programming
Parameters
Set extended programming parameters for the current device.
Command Cmnd_SET_DEVICE_EXT, commandsize, eeprompagesize, signalpagel, signalbs2,
Synch_CRC_EOP
Command Value 0x45
Response Resp_STK_INSYNC, Resp_STK_OK
or
Resp_STK_NOSYNC (if no Sync_CRC_EOP received)
flashsize4 FLASH size in bytes, byte 4 (High Byte) of 32-bit value. 1 byte
flashsize3 FLASH size in bytes, byte 3 of 32-bit value. 1 byte
flashsize2 FLASH size in bytes, byte 2 of 32-bit value. 1 byte
flashsize1 FLASH size in bytes, byte 1 (Low Byte) of 32-bit value. 1 byte
Table 5. Parameters (Continued)
Parameter Name Field Usage Field Format
Table 6. Parameters
Parameter Name Field Usage Field Format
commandsize Defines how many bytes of additional parameters the command contains. In this case it’s value
should be 4 (for the eepromsize, signalpagel and signalbs2 parameters). The STK500 may
accept more parameters in later revisions.
1 byte
eeprompagesize EEPROM page size in bytes. 1 byte
signalpagel Defines to which port pin the PAGEL signal should be mapped. Example: signalpagel = 0xD7. In
this case PAGEL should be mapped to PORTD7.
1 byte
signalbs2 Defines to which port pin the BS2 signal should be mapped. See signalpagel. 1 byte
ResetDisable Defines whether a part has RSTDSBL Fuse (value = 1) or not (value = 0). 1 byte