ATMEGA48V_06 ATMEL [ATMEL Corporation], ATMEGA48V_06 Datasheet - Page 301

no-image

ATMEGA48V_06

Manufacturer Part Number
ATMEGA48V_06
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Table 26-17. Serial Programming Instruction Set (Hexadecimal values) (Continued)
Notes:
Figure 26-8. Serial Programming Instruction example
2545J–AVR–12/06
Instruction/Operation
Write EEPROM Memory Page (page access)
Write Lock bits
Write Fuse bits
Write Fuse High bits
Write Extended Fuse Bits
1. Not all instructions are applicable for all parts.
2. a = address.
3. Bits are programmed ‘0’, unprogrammed ‘1’.
4. To ensure future compatibility, unused Fuses and Lock bits should be unprogrammed (‘1’) .
5. Refer to the correspondig section for Fuse and Lock bits, Calibration and Signature bytes and Page size.
6. Instructions accessing program memory use a word address. This word may be random within the page range.
7. See htt://www.atmel.com/avr for Application Notes regarding programming and programmers.
Byte 1
Load Program Memory Page (High/Low Byte)/
Load EEPROM Memory Page (page access)
Bit 15 B
Byte 2
Adr M M S S B
A
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.
After data is loaded to the page buffer, program the EEPROM page, see
301.
Byte 3
Adr LSB
Page Offset
0
Serial Programming Instruction
Byte 4
Byte 1
$AC
$AC
$AC
$AC
$C2
Program Memory/
EEPROM Memory
Page Buffer
Page N-1
Page 0
Page 1
Page 2
Byte 1
0000 00aa
Byte 2
$E0
$A0
$A8
$A4
Page Number
Instruction Format
Bit 15 B
Write Program Memory Page/
Write EEPROM Memory Page
Byte 2
Adr MSB
aaaa aa00
ATmega48/88/168
Byte 3
$00
$00
$00
$00
Byte 3
A A dr r L L SB B
Figure 26-8 on page
0
data byte in
data byte in
data byte in
data byte in
Byte 4
Byte4
$00
301

Related parts for ATMEGA48V_06