Full Status Check - Renesas M16C/29 Series Hardware Manual

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

Advertisement

M16C/29 Group

21.8.4 Full Status Check

When an error occurs, the FMR06 to FMR07 bits in the FMR0 register are set to "1", indicating occur-
rence of each specific error. Therefore, execution results can be verified by checking these status bits (full
status check). Table 21.8.4.1 shows errors and the status of FMR0 register. Figure 21.8.4.1 shows a flow
chart of the full status check and handling procedure for each error.
Table 21.8.4.1. Errors and FMR0 Register Status
FMR00 register
(SRD register)
status
FMR07
FMR06
(SR5)
(SR4)
1
1
1
0
0
1
Note 1: The flash memory enters read array mode by writing command code 'xxFF
cycle of these commands. The command code written in the first bus cycle becomes invalid.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Error
Command
• When any commands are not written correctly
sequence error • A value other than 'xxD0
bus cycle of the block erase command (Note 1)
• When the block erase command is executed on protected blocks
• When the program command is executed on protected blocks
Erase error
• When the block erase command is executed on unprotected
blocks but the blocks are not automatically erased correctly
Program error
• When the program command is executed on unprotected blocks
but the blocks are not automatically programmed correctly.
page 387 of 402
Error occurrence condition
' or 'xxFF
' is written in the second
16
16
21. Flash Memory Version
' in the second bus
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents