Справочник Пользователя для Motorola MC68HC908MR16

Скачать
Страница из 388
Advance Information
MC68HC908MR16/MC68HC908MR32 — Rev. 4.0
60
FLASH Memory
MOTOROLA
FLASH Memory
4.5  FLASH Page Erase Operation
Use this step-by-step procedure to erase a page (128 bytes) of
 
FLASH 
memory to read as logic 1:
1. Set the ERASE bit, and clear the MASS bit in the FLASH control 
register.
2. Read the FLASH block protect register.
3. Write any data to any FLASH address within the page address 
range desired.
4. Wait for a time, t
NVS
, minimum of 10
 µ
s.
5. Set the HVEN bit.
6. Wait for a time, t
Erase
, minimum of 1 ms.
7. Clear the ERASE bit.
8. Wait for a time, t
NVH
, minimum of 5 
µ
s.
9. Clear the HVEN bit.
10. After a time, t
RCV
 (typically 1 
µ
s), the memory can be accessed 
again in read mode.
NOTE:
While these operations must be performed in the order shown, other 
unrelated operations may occur between the steps.