mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 69

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
4.6 FLASH Mass Erase Operation
MC68HC908LD64
Freescale Semiconductor
NOTE:
Rev. 3.0
A mass erase operation erases an entire array of FLASH memory. The
MC68HC908LD64 contains two FLASH memory arrays, therefore, two
mass erase operations are required to erase all FLASH memory in the
device. Mass erasing the 13K-byte array, erases all FLASH memory
from $0800 to $3FFF. Mass erasing the 47,616-byte array, erases all
FLASH memory from $4000 to $FFFF.
Use the following procedure to erase an entire FLASH memory array:
Programming and erasing of FLASH locations cannot be performed by
code being executed from the same FLASH array that is being
programmed or erased. While these operations must be performed in
the order as shown, but other unrelated operations may occur between
the steps.
1. Set both the ERASE bit, and the MASS bit in the FLASH control
2. Write any data to any FLASH address within the FLASH memory
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.
address range.
mode.
FLASH Memory
rcv
(1µs)
nvs
ERASE
nvhl
,
(5µs).
(100µs).
the memory can be accessed again in read
(10ms).
FLASH Mass Erase Operation
FLASH Memory
Data Sheet
69

Related parts for mc68hc908ld64