English
Language : 

M16C26A Datasheet, PDF (267/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
(EW0 mode)
Start
FMR40=1
Write the command code ‘xx2016’
(1)
Write ‘xxD016’ to the highest-order
block address (1)
NO
FMR00=1?
YES
Full status check(2,4)
Block erase completed
17. Flash Memory Version
Interrupt service routine (3)
FMR41=1
NO
FMR46=1?
YES
Access Flash Memory
FMR41=0
Return
(Interrupt service routine end)
(EW1 mode)
Start
FMR40=1
Write the command code ‘xx2016’
(1)
Write ‘xxD016’ to the highest-order
block address (1)
Interrupt service routine (3)
Access Flash Memory
Return
(Interrupt service routine end)
FMR41=0
NO
FMR00=1?
YES
Full status check(2,4)
Block erase completed
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 EW0 mode, allocate an interrupt vector table of an interrupt, to be used, to a RAM area.
4. Refer to "Figure 17.8.4.1 Full Status Check and Handling Procedure for Each Error."
Figure 17.7.5.2. Block Erase Command (at use erase suspend)
Rev. 2.00 Feb.15, 2007 page 250 of 329
REJ09B0202-0200