mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 35

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
2.5.4 FLASH Mass Erase Operation
Use the following procedure to erase the entire FLASH memory:
2.5.5 FLASH Program Operation
Programming of the FLASH memory is done on a row basis. A row consists of 64 consecutive bytes
starting from addresses $XX00, $XX40, $XX800 or $XXC00. Use the following procedure to program a
row of FLASH memory.
Freescale Semiconductor
10. Wait for time, t
11. Clear the HVEN bit.
12. After time, t
7. Wait for a time, t
8. Clear the HVEN bit
9. After time, t
1. Set both the ERASE bit and the MASS bit in the FLASH control register.
2. Write any data to any FLASH location within the FLASH memory address range.
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
1. Set the PGM bit. This configures the memory for program operation and enables the latching of
2. Write any data to any FLASH location within the address range of the row to be programmed.
3. Wait for a time, t
4. Set the HVEN bit.
5. Wait for a time, t
6. Write data to the FLASH location to be programmed.
7. Wait for time, t
8. Repeat steps 6 and 7 until all bytes within the row are programmed.
9. Clear the PGM bit.
address and data for programming.
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, but other unrelated operations
may occur between the steps.
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, but other unrelated operations
may occur between the steps.
rcv
rcv
rcv
(1 μs), the memory can be accessed in read mode again.
(1 μs), the memory can be accessed in read mode again.
prog
nvh
(1 μs), the memory can be accessed in read mode again.
me
nvh
nvs
nvh1
nvs
pgs
(Figure 2-4
(5 μs).
(200 ms).
(20 μs to 40 μs).
(5 μs).
(5 μs).
(5 μs).
(10 μs).
(100 μs).
shows a flowchart of the programming algorithm.)
MC68HC908JW32 Data Sheet, Rev. 5
NOTE
NOTE
FLASH Memory
35

Related parts for mc68hc908jw32