Full Status Check - Renesas M16C Series Hardware Manual

16-bit microcopmuter
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

R8C/11 Group

17.4.5 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.6 lists errors and FMR0 register status. Figure 17.12 shows a full status
check flowchart and the action to be taken when each error occurs.
Table 17.6 Errors and FMR0 Register Status
FRM00 register
(status register)
status
FMR07
FMR06
(SR5)
(SR4)
1
1
1
0
0
1
NOTES:
1. Writing 'FF
' in the second bus cycle of these commands places the microcomputer in read array
16
mode, and the command code written in the first bus cycle is nullified.
Rev.1.20
Jan 27, 2006
REJ09B0062-0120
Error
Command
• When any command is not written correctly
sequence error • When invalid data was written other than those that can be writ-
ten in the second bus cycle of the Block Erase command (i.e.,
other than 'D0
•When executing the program command or block erase command
while rewriting is disabled using the FMR02 bit in the FMR0 regis-
ter, the FMR15 or FMR16 bit in the FMR1 register.
• When inputting and erasing the address in which the Flash
memory is not allocated during the erase command input.
• When executing to erase the block which disables rewriting dur-
ing the erase command input.
• When inputting and writing the address in which the Flash
memory is not allocated during the write command input.
• When executing to write the block which disables rewriting during
the write command input.
Erase error
• When the Block Erase command was executed but not automati-
cally erased correctly
Program error
• When the Program command was executed but not automatically
programmed correctly.
page 179 of 204
Error occurrence condition
(1)
' or 'FF
')
16
16
17.4 CPU Rewrite Mode

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/11 seriesR8c/tiny series

Table of Contents