MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 63

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
FLASH Memory (FLASH)
4.5 FLASH Page Erase Operation
Technical Data
64
NOTE:
Use the following procedure to erase a page of FLASH memory. A page
consists of 128 consecutive bytes starting from addresses $xx00 or
$xx80. The 48-byte user interrupt vectors area also forms a page. The
48-byte user interrupt vectors cannot be erased by the page erase
operation because of security reasons. Mass erase is required to erase
this page.
Programming and erasing of FLASH locations cannot be performed by
executing code from the FLASH memory; the code must be executed
from RAM. While these operations must be performed in the order as
shown, but other unrelated operations may occur between the steps.
1. Set the ERASE bit and clear the MASS bit in the FLASH control
2. Write any data to any FLASH address within the page address
3. Wait for a time, t
4. Set the HVEN bit.
5. Wait for a time, t
6. Clear the ERASE bit.
7. Wait for a time, t
8. Clear the HVEN bit.
9. After time, t
register.
range desired.
mode.
FLASH Memory (FLASH)
rcv
(1µs), the memory can be accessed again in read
nvs
erase
nvh
(at least 10µs).
(5µs).
(1ms).
MC68HC908LJ12
Freescale Semiconductor
Rev. 2.1

Related parts for MC68HC908LJ12CPB