TXZ Family
Flash Memory
2018-06-05
105 / 120
Rev. 2.0
6.6.11. Reprogramming Procedure of the Flash Using Reprogramming Algorithm in Boot
ROM
This section describes the reprogramming procedure of the flash using reprogramming algorithm in the on-chip
Boot ROM. (The Following example is using UART)
6.6.11.1. Step-1
The condition of the flash memory does not care whether a former user program has been programmed or erased.
Since a programming routine and programming data are transferred via the UART, the UART of this device must
be connected to an external host. A programming routine (a) is prepared on the host.
Figure 6.19 Procedure of Using Reprogramming Algorithm in Boot ROM (1)
6.6.11.2. Step-2
The user releases the reset by the pin condition setting for single boot mode and boots up on the Boot ROM.
According to the procedure of boot mode, the user transfers the programming routine (a) via the UART from the
source (host). Password verification is performed against the password in the user application program first. For
details, refer to “(4) Password Setting Values and Setting Ranges” in section “6.6.6.3. Password”.
Figure 6.20 Procedure of Using Reprogramming Algorithm in Boot ROM (2)
Note: All products do not support the determination of the transition destination by the deassertion of Power On
Reset (POR). For the details, refer to “Product Information” in Reference manual.
RESET_N (Note)
0
1
0
BOOT_N