atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 299

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
24.8.5
7647A–AVR–02/08
Programming the EEPROM
Figure 24-3. Programming the Flash Waveforms
Note:
The EEPROM is organized in pages, see
EEPROM, the program data is latched into a page buffer. This allows one page of data to be
programmed simultaneously. The programming algorithm for the EEPROM data memory is as
follows (refer to
Data loading):
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
5. E: Latch data (give PAGEL a positive pulse).
K: Repeat 3 through 5 until the entire buffer is filled.
L: Program EEPROM page
1. Set BS1 to “0”.
2. Give WR a negative pulse. This starts programming of the EEPROM page. RDY/BSY
3. Wait until to RDY/BSY goes high before programming the next page (See
goes low.
signal waveforms).
RESET +12V
RDY/BSY
PAGEL
1. “XX” is don’t care. The letters refer to the programming description above.
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
OE
0x10
“Programming the Flash” on page 297
A
ADDR. LOW
B
DATA LOW
C
DATA HIGH
D
XX
E
ADDR. LOW
Table 24-13 on page
B
DATA LOW
(1)
C
F
DATA HIGH
ATmega32/64/M1/C1
D
for details on Command, Address and
XX
E
ADDR. HIGH
295. When programming the
G
H
XX
Figure 24-4
for
299

Related parts for atmega32c1