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

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
FLASH Memory (FLASH)
4.7 FLASH Program Operation
Technical Data
66
NOTE:
Programming of the FLASH memory is done on a row basis. A row
consists of 64 consecutive bytes starting from addresses $xx00, $xx40,
$xx80, or $xxC0. The procedure for programming a row of the FLASH
memory is outlined below:
This program sequence is repeated throughout the memory until all data
is programmed.
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. Do
not exceed t
Characteristics.
Figure 4-3
FLASH memory.
10. Wait for time, t
11. Clear the HVEN bit.
12. After time, t
1. Set the PGM bit. This configures the memory for program
2. Write any data to any FLASH address within the row address
3. Wait for a time, t
4. Set the HVEN bit.
5. Wait for a time, t
6. Write data to the FLASH address to be programmed.
7. Wait for time, t
8. Repeat step 6 and 7 until all the bytes within the row are
9. Clear the PGM bit.
operation and enables the latching of address and data for
programming.
range desired.
programmed.
mode.
shows a flowchart representation for programming the
prog
FLASH Memory (FLASH)
maximum. See
rcv
prog
nvh
(1µs), the memory can be accessed again in read
nvs
pgs
(5µs).
(30µs).
(10µs).
(5µs).
23.18 FLASH Memory
MC68HC908LJ12
Freescale Semiconductor
Rev. 2.1

Related parts for MC68HC908LJ12CPB