R01UH0823EJ0100 Rev.1.00 Page 1678 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.4.18 Flash Error Address Monitor Register H (FEAMH)
This register is used to check the address where the error has occurred if an error occurs during processing of a software
command. This register stores bit 31 to bit 25 and bit 20 to bit 16 of the address where the error has occurred for the
program command or blank check command, or it stores bit 31 to bit 25 and bit 20 to bit 16 of the beginning address of
the area where the error has occurred for the block erase command or all-block erase command.
Since this register value becomes undefined if setting the FRESETR.FRESET bit to 1, read the value before error
processing.
If the software command terminates normally, this register stores bit 31 to bit 25 and bit 20 to bit 16 of the end address at
execution of the command.
Refer to
Figure 50.1 and Figure 50.2 for details on the addresses of the flash memory.
50.4.19 Flash Error Address Monitor Register L (FEAML)
This register is used to check the address where the error has occurred if an error occurs during processing of a software
command. This register stores bit 15 to bit 0 of the address where the error has occurred for the program command or
blank check command, or it stores bit 15 to bit 0 of the beginning address of the area where the error has occurred for the
block erase command or all-block erase command.
Since this register value becomes undefined if setting the FRESETR.FRESET bit to 1, read the value before error
processing.
When the software command is normally completed, this register stores bit 15 to bit 0 of the last address at execution of
the command.
When executing a software command for the ROM, lower 3 bits become 000b.
Refer to
Figure 50.1 and Figure 50.2 for details on the addresses of the flash memory.
Address(es): FLASH.FEAMH 007F C1E8h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
————
Value after reset:
0000000000000000
Address(es): FLASH.FEAML 007F C1E0h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
0000000000000000