39. ROM (Flash Memory for Code Storage)
Table 39.10
Error Protection Types (Types Dedicated to ROM and Types Common to ROM and E2 Data Flash)
Type
Description
ILGLERR
ERSERR
PRGE
RR
FCU
E
RR
ROMAE
FENTRYR setting
error
More than one bit is set to 1 among the FENTRYD and FENTRY0 bits in FENTRYR
1
0
The FENTRYR setting at suspension disagrees with that at resumption
1
0
Illegal command error Undefined code is specified in the first cycle of an FCU command
1
0
Other than D0h is specified in the last cycle of a multi-cycle FCU command
1
0
The peripheral clock is set to other than 1 to 100 MHz in PCKAR
(an error is not detected if the setting is from 1 to 4 MHz or from 50 to 100 MHz)
10
00
0
A command other than the suspend command is issued during programming/erasure
1
0
A suspend command is issued during processing other than programming/erasure
1
0
A suspend command is issued in the suspended state
1
0
A resume command is issued in other than the suspended state
1
0
A programming/erasure-related command (programming/lock bit programming/block
erase) is issued in the programming suspended state
10
00
0
A block erase command is issued in the erasure suspended state
1
0
A programming or lock bit programming command is issued to an erasure suspend
target area in the erasure suspended state
10
00
0
Other than 80h is specified in the second cycle of a programming command
1
0
A command is issued in the command-locked state
1
0/1 0/1 0/1 0/1
Erasure error
An error occurs during erasure
0
1
0
When the FPROTR.FPROTCN bit is 0, a block erase command is issued to an
erasure block whose lock bit is set to 0
01
00
0
Programming error
An error occurs during programming
0
1
0
When the FPROTR.FPROTCN bit is 0, a programming or lock bit programming
command is issued to an erasure block whose lock bit is set to 0
00
10
0
FCU error
An error occurs during FCU internal processing
0
1
0
ROM access violation When the FENTRYR.FENTRY0 bit is 1 in ROM P/E normal mode, a read access
command is issued for addresses 00FE 0000h to 00FF FFFFh when the user mat
capacity is 128 Kbytes, 00FC 0000h to 00FF FFFFh when the user mat capacity is 256
Kbytes, 00FA 0000h to 00FF FFFFh when the user mat capacity is 384 Kbytes, or
00F8 0000h to 00FF FFFFh when the user mat capacity is 512 Kbytes.
10
00
1
When the FENTRYR.FENTRY0 bit is 0, an access command is issued for addresses
00FE 0000h to 00FF FFFFh when the user mat capacity is 128 Kbytes, 00FC 0000h to
00FF FFFFh when the user mat capacity is 256 Kbytes, 00FA 0000h to 00FF FFFFh
when the user mat capacity is 384 Kbytes, or 00F8 0000h to 00FF FFFFh when the
user mat capacity is 512 Kbytes.
10
00
1
A read access command is issued for addresses FFFE 0000h to FFFF FFFFh when
the user mat capacity is 128 Kbytes, FFFC 0000h to FFFF FFFFh when the user mat
capacity is 256 Kbytes, FFFA 0000h to FFFF FFFFh when the user mat capacity is
384 Kbytes, or FFF8 0000h to 00FF FFFFh when the user mat capacity is 512 Kbytes
while FENTRYR has set the ROM in ROM P/E mode.
10
00
1