Renesas M16C FAMILY series Hardware Manual page 337

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
(EW mode 0)
Write the command code
Write 'xxD0
Full status check
(EW mode 1)
Write the command code
Write 'xxD0
Full status check
NOTES:
1. Write the command code and data to even address.
2. Execute the clear status register command and block erase command at least 3 times until an
erase error is not generated when an erase error is generated.
3. In EW mode 0, allocate an interrupt vector table of an interrupt, to be used, to the RAM area.
4. Refer to Figure 18.15.
Figure 18.14 Block Erase Command (at use erase suspend)
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
Start
FMR40=1
(1)
'xx20
'
16
' to the highest-order
16
(1)
block address
NO
FMR00=1?
YES
(2,4)
Block erase completed
Start
FMR40=1
(1)
'xx20
'
16
' to the highest-order
16
(1)
block address
FMR41=0
NO
FMR00=1?
YES
(2,4)
Block erase completed
page 317
f o
3
8
5
18. Flash Memory Version
(3)
Interrupt service routine
FMR41=1
NO
FMR46=1?
YES
Access Flash Memory
FMR41=0
Return
(Interrupt service routine end)
Interrupt service routine
Access Flash Memory
Return
(Interrupt service routine end)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents