Renesas M16C/29 Series Hardware Manual page 405

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
(EW0 mode)
Write the command code 'xx20
Write 'xxD0
block address (Note 1)
Full status check
Block erase completed
(EW1 mode)
Write the command code 'xx20
Write 'xxD0
block address (Note 1)
Full status check
Block erase completed
Note 1: Write the command code and data to even address.
Note 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.
Note 3: In EW0 mode, allocate an interrupt vector table of an interrupt, to be
used, to a RAM area
Note 4: Refer to "Figure 21.8.4.1. Full Status Check and Handling Porcedure
for Each Error".
Figure 21.7.5.2. Block Erase Command (at use erase suspend)
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Start
FMR40=1
'
16
(Note 1)
' to the highest-order
16
NO
FMR00=1?
YES
(Note 2,4)
Start
FMR40=1
'
16
(Note 1)
' to the highest-order
16
FMR41=0
NO
FMR00=1?
YES
(Note 2,4)
page 385 of 402
21. Flash Memory Version
Interrupt service routine
(Note 3)
FMR41=1
NO
FMR46=1?
YES
Access Flash Memory
FMR41=0
Return
(Interrupt service routine end)
Interrupt service routine
(Note 3)
Access Flash Memory
Return
(Interrupt service routine end)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents