s908qc16vdse Freescale Semiconductor, Inc, s908qc16vdse Datasheet - Page 38

no-image

s908qc16vdse

Manufacturer Part Number
s908qc16vdse
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Memory
2.6.3 FLASH Mass Erase Operation
Use the following procedure to erase the entire FLASH memory to read as a 1:
38
10. After time, t
1. When in monitor mode, with security sequence failed (see
1. Set both the ERASE bit and the MASS bit in the FLASH control register.
2. Read 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 and MASS bits.
8. Wait for a time, t
9. Clear the HVEN bit.
stead of any FLASH address.
Mass erase is disabled whenever any block is protected (FLBPR does not
equal $FF).
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 as shown, other unrelated operations may
occur between the steps.
A mass erase will erase the internal oscillator trim value at $FFC0.
RCV
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 4
, the memory can be accessed in read mode again.
NVS
MErase
NVHL
.
.
.
(1)
CAUTION
within the FLASH memory address range.
NOTE
NOTE
18.3.2
Security), write to the FLASH block protect register in-
Freescale Semiconductor

Related parts for s908qc16vdse