Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1758 of 1852
Nov 30, 2020
RX23W Group 50. Flash Memory (FLASH)
50.12 Rewriting by Self-Programming
50.12.1 Overview
The MCU supports rewriting of the flash memory by the user program. The ROM and E2 DataFlash can be rewritten by
preparing a routine to rewrite the flash memory (flash rewrite routine) in the user program.
When rewriting the E2 DataFlash, the BGO can be used to execute the flash rewrite routine on the ROM. The E2
DataFlash can also be rewritten by executing the flash rewrite routine that is transferred on the RAM in advance.
Figure 50.42 Self-Programming Overview
Flash rewrite routine
Flash informationErase/program
Note 1. The ROM cannot be rewritten by executing the flash rewrite routine on the ROM.
ROM or E2 DataFlash
On-chip RAM or on-chip ROM
*1