ATmega48PA Automotive Atmel Corporation, ATmega48PA Automotive Datasheet - Page 173
ATmega48PA Automotive
Manufacturer Part Number
ATmega48PA Automotive
Description
Manufacturer
Atmel Corporation
- Current page: 173 of 225
- Download datasheet (4Mb)
21.8.3
21.8.4
7701E–AVR–02/11
Chip Erase
Programming the Flash
The Chip Erase will erase the Flash and EEPROM
bits are not reset until the program memory has been completely erased. The fuse bits are not
changed. A chip erase must be performed before the flash and/or EEPROM are
reprogrammed.
Note:
1. Load "Chip Erase" command (see
2. Wait after Instr. 3 until SDO goes high for the “Chip Erase” cycle to finish.
3. Load "No Operation" command.
The Flash is organized in pages, see
the program data are latched into a page buffer. This allows one page of program data to be
programmed simultaneously. The following procedure describes how to program the entire
flash memory:
1. Load "Write Flash" command (see
2. Load Flash Page Buffer.
3. Load Flash High Address and Program Page. Wait after Instr. 3 until SDO goes high for
4. Repeat 2 and 3 until the entire flash is programmed, or until all data has been
5. End page programming by loading "No Operation" command.
When writing or reading serial data to the Atmel
ing edge of the serial clock. See
22-9 on page 186
Figure 21-4. Addressing the Flash which is Organized in Pages
the “Page Programming” cycle to finish.
programmed.
1. The EEPROM memory is preserved during Chip Erase if the EESAVE Fuse is programmed.
PROGRAM MEMORY
PROGRAM
COUNTER
PAGE
for details.
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
Atmel ATtiny24/44/84 [Preliminary]
PCPAGE
Figure 22-5 on page
“Page Size” on page
Table 21-15 on page
Table 21-15 on page
PAGEMSB
PCWORD
WORD ADDRESS
WITHIN A PAGE
®
ATtiny24/44/84, data are clocked on the ris-
(1)
186,
memories, as well as lock bits. The lock
INSTRUCTION WORD
Figure 21-3 on page 171
166. When programming the flash,
PAGE
175).
175).
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
and
Table
173
Related parts for ATmega48PA Automotive
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MCU AVR 4K ISP FLASH 20MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
MCU AVR 4K ISP FLSH 20MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4K ISP FLASH 20MHZ 28DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4K FLASH 20MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4K FLASH 20MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4K FLASH 20MHZ 28-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4K FLASH 20MHZ 28QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet: