h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 729

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Notes: 1. Prewriting (setting erase block data to all 0s) is not necessary.
2. Verify data is read in 16-bit (word) units.
3. Make only a single-bit specification in the erase block registers (EBR1 and EBR2). Two or more bits must not be set simultaneously.
4. Erasing is performed in block units. To erase multiple blocks, each block must be erased in turn.
5. The wait times and the value of N are shown in section 23.7, Flash Memory Characteristics.
Figure 20.12 Erase/Erase-Verify Flowchart (Single Block Erase)
Increment
address
No
Set block start address as verify address
H'FF dummy write to verify address
Clear ESU bit in FLMCR1
Clear SWE bit in FLMCR1
Set SWE bit in FLMCR1
Set ESU bit in FLMCR1
Clear EV bit in FLMCR1
Clear E bit in FLMCR1
Set EV bit in FLMCR1
Last address of block?
Set E bit in FLMCR1
Set EBR1 or EBR2
Verify data = all 1s?
Read verify data
Wait (t
Wait (t
End of erasing
Wait (t
Wait (t
Wait (t
Disable WDT
Wait (t
Wait (t
Enable WDT
Wait (t
Wait (t
n = 1
Start
sswe
cswe
sesu
cesu
sevr
sev
cev)
se
ce
Yes
Yes
) ms
) µs
) µs
) µs
) µs
) µs
) µs
) µs
µs
*1
No
Rev. 5.00 Sep 22, 2005 page 703 of 1136
*5
*3, *4
*5
Start of erase
*5
Erase halted
*5
*5
*5
*5
*2
*5
*5
Perform erasing in block units.
Clear SWE bit in FLMCR1
Clear EV bit in FLMCR1
Wait (t
Wait (t
Erase failure
n
cswe
cev
(N)?
Yes
) µs
) µs
*5
REJ09B0257-0500
Section 20 ROM
No
n
*5
*5
n + 1

Related parts for h8s-2646