Full Status Check - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

17.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 17.8.4.1 shows errors and the status of FMR0 register. Figure 17.8.4.1
shows a flow chart of the full status check and handling procedure for each error.
Table 17.8.4.1. Errors and FMR0 Register Status
FMR0 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.
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
Error
Command
• When any commands are not written correctly
sequence error • A value other than 'xxD0
bus cycle of the block erase command
• 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 252
f o
3
2
9
C
2 /
6
) T
Error occurrence condition
17. Flash Memory Version
' or 'xxFF
' is written in the second
16
16
(1)
' in the second bus
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents