
155
8024A–AVR–04/08
ATmega8HVA/16HVA
If the LSB in RDY/BSY data byte out is ‘1’, a programming operation is still pending. Wait until
this bit returns ‘0’ before the next instruction is carried out.
Within the same page, the low data byte must be loaded prior to the high data byte.
Figure 27-2. Serial Programming Instruction example
Byte 1
Byte 2
Byte 3
Byte 4
Adr LSB
Bit 15 B
0
Serial Programming Instruction
Program Memory/
EEPROM Memory
Page 0
Page 1
Page 2
Page N-1
Page Buffer
Write Program Memory Page/
Write EEPROM Memory Page
Load Program Memory Page (High/Low Byte)/
Load EEPROM Memory Page (page access)
Byte 1
Byte 2
Byte 3
Byte 4
Bit 15 B
0
Adr MSB
Page Offset
Page Number
Adr
dr M
r MS
SB
A
Adr
dr LS
LSB
SB