mc68hc05pv8a Freescale Semiconductor, Inc, mc68hc05pv8a Datasheet - Page 160

no-image

mc68hc05pv8a

Manufacturer Part Number
mc68hc05pv8a
Description
Mc68hc05pv8a Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Technical Data
13.5 EEPROM READ, ERASE and Programming Procedures
13.5.1 READ Procedure
13.5.2 ERASE Procedure
13.5.3 Programming Procedure
Technical Data
To read data from EEPROM the EELAT bit must be clear. EEPGM,
EER1 and EER0 are forced to zero. The EEPROM is read as if it were a
normal ROM. The charge pump generator is off since EEPGM is zero. If
a read is performed while ELAT is set, data will be read as $FF.
There are three types of ERASE operation mode (see
Mode
To erase a byte of EEPROM set EELAT = 1, ER1 = 0 and ER0 = 1, write
to the address to be erased and set EEPGM for a time t
To erase a block of EEPROM set EELAT = 1, ER1 = 1 and ER0 = 0,
write to any address in the block and set EEPGM for a time t
For a bulk erase set EELAT = 1, ER1 = 1, and ER0 = 1, write to an
address in the array with A0 or A1 = 1, and set EEPGM for a time t
To program the content of EEPROM, set EELAT bits, write data to the
desired address and set the EEPGM bit. After the required programming
delay t
register. When this bit is set from 0 to 1 (erased) the protection
remains until the next power-on or external reset. EEPRT can only be
written to 0 when the ELAT bit in the EEPROM control register is set.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Block 2 of the EEPROM array is not protected; all 128 bytes of
0 = Block 2 of the EEPROM array is protected; any attempt to
Select), byte erase, block erase or bulk erase.
EEPGM
EEPROM can be accessed for any read, erase or
programming operations
erase or program a location will be unsuccessful
, EELAT must be cleared. This also resets EEPGM. During
Go to: www.freescale.com
EEPROM
MC68HC(8)05PV8/A — Rev. 1.9
Table 13-1 Erase
EBYTE
EBLOC
.
EBULK
.
.

Related parts for mc68hc05pv8a