ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 221

no-image

ATAVRSB202

Manufacturer Part Number
ATAVRSB202
Description
KIT BATT MGMT FOR ATMEGA32HVB
Manufacturer
Atmel
Datasheets

Specifications of ATAVRSB202

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
30.7.6
8042B–AVR–06/10
Programming the EEPROM
Figure 30-5. 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 BS 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
XTAL1
1. “XX” is don’t care. The letters refer to the programming description above.
DATA
XA1
XA0
BS1
BS2
WR
OE
0x10
”Programming the Flash” on page 219
A
ADDR. LOW
B
DATA LOW
C
DATA HIGH
D
XX
E
ADDR. LOW
Table 30-8 on page
B
DATA LOW
(1)
C
ATmega16HVB/32HVB
F
DATA HIGH
D
for details on Command, Address and
XX
E
211. When programming the
ADDR. HIGH
G
H
XX
Figure 30-6
for
221

Related parts for ATAVRSB202