English
Language : 

MC68HC12 Datasheet, PDF (121/478 Pages) Motorola, Inc – The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Flash Memory
Erasing the Flash EEPROM
12. After time, tRCV (min 1µs), the memory can be accessed in read
mode again.
This program sequence is repeated throughout the memory until all data
is programmed. For minimum overall programming time and least
program disturb effect, the sequence should be part of an intelligent
operation which iterates per row.
8.9 Erasing the Flash EEPROM
The following sequence demonstrates the recommended procedure for
erasing any of the Flash EEPROM array.
1. Set the ERAS bit.
2. Write to any valid address in the Flash array. The data written and
the address written are not important. The boot block will be
erased only if the control bit BOOTP is negated.
3. Wait for a time, tNVS.
4. Set the HVEN bit.
5. Wait for a time, tERAS.
6. Clear the ERAS bit.
7. Wait for a time, tNVHL.
8. Clear the HVEN bit.
9. After time, tRCV, the memory can be accessed in read mode again.
8.10 Stop or Wait Mode
When stop or wait commands are executed, the MCU puts the Flash
EEPROM in stop or wait mode. In these modes the Flash module will
cease erasure or programming immediately.
CAUTION: It is advised not to enter stop or wait modes when program or erase
operation of the Flash array is in progress.
MC68HC912DT128A — Rev 4.0
MOTOROLA
Flash Memory
Technical Data
121