Datasheet

t
WD_EEPROM
before issuing the next byte. In a chip erased device, no 0xFF in the data file(s) need to
be programmed.
6. Any memory location can be verified by using the Read instruction which returns the content at the
selected address at serial output MISO.
7. At the end of the programming session, RESET can be set high to commence normal operation.
8. Power-off sequence (if needed):
Set RESET to “1”.
Turn V
CC
power off.
Table 28-17. Typical Wait Delay Before Writing the Next Flash or EEPROM Location
Symbol Minimum Wait Delay
t
WD_FLASH
2.6ms
t
WD_EEPROM
3.6ms
t
WD_ERASE
10.5ms
t
WD_FUSE
4.5ms
28.9.3. Serial Programming Instruction Set
This section describes the Instruction Set.
Table 28-18. Serial Programming Instruction Set (Hexadecimal values)
Instruction/Operation Instruction Format
Byte 1 Byte 2 Byte 3 Byte 4
Programming Enable 0xAC 0x53 0x00 0x00
Chip Erase (Program Memory/EEPROM) 0xAC 0x80 0x00 0x00
Poll RDY/BSY 0xF0 0x00 0x00 data byte out
Load Instructions
Load Extended Address byte
(1)
0x4D 0x00 Extended adr 0x00
Load Program Memory Page, High byte 0x48 0x00 adr LSB high data byte in
Load Program Memory Page, Low byte 0x40 0x00 adr LSB low data byte in
Load EEPROM Memory Page (page access) 0xC1 0x00 0000 000aa data byte in
Read Instructions
Read Program Memory, High byte 0x28 adr MSB adr LSB high data byte out
Read Program Memory, Low byte 0x20 adr MSB adr LSB low data byte out
Read EEPROM Memory 0xA0 0000 00aa aaaa aaaa data byte out
Read Lock bits 0x58 0x00 0x00 data byte out
Read Signature Byte 0x30 0x00 0000 000aa data byte out
Read Fuse bits 0x50 0x00 0x00 data byte out
Read Fuse High bits 0x58 0x08 0x00 data byte out
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
391