MC68HC908KX2 MOTOROLA [Motorola, Inc], MC68HC908KX2 Datasheet - Page 53

no-image

MC68HC908KX2

Manufacturer Part Number
MC68HC908KX2
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
4.6 FLASH Mass Erase Operation
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 — Rev. 1.0
MOTOROLA
NOTE:
Use this step-by-step procedure to erase entire FLASH memory to read
as logic 1:
Programming and erasing of FLASH locations cannot be performed by
code being executed from the FLASH memory. While these operations
must be performed in the order shown, other unrelated operations may
occur between the steps.
1. When in monitor mode, with security sequence failed (see
10. After a time, t
write to the FLASH block protect register instead of any FLASH address.
1. Set both the ERASE bit and the MASS bit in the FLASH control
2. Read from the FLASH block protect register.
3. Write any data to any FLASH address
4. Wait for a time, t
5. Set the HVEN bit.
6. Wait for a time, t
7. Clear the ERASE bit.
8. Wait for a time, t
9. Clear the HVEN bit.
register.
memory address range.
again in read mode.
FLASH Memory
RCV
NVS
MErase
NVHL
(minimum of 1 s), the memory can be accessed
(minimum of 10 s).
(minimum of 100 s).
(minimum of 4 ms).
(1)
Section 18. Monitor ROM
FLASH Mass Erase Operation
within the FLASH
FLASH Memory
Technical Data
(MON)),
53

Related parts for MC68HC908KX2