TXZ Family
Flash Memory
2018-06-05
92 / 120
Rev. 2.0
6.6.4. Restrictions on Memories
Note that the single boot mode places restrictions on the on-chip RAM and on-chip flash memory as shown in
Restrictions on the memories in single boot mode”.
Table 6.5 Restrictions on the memories in single boot mode
Memory
Restrictions
On-chip RAM
Boot program uses the memory as a work area through “0x20000000” to
“0x200003FF”.
Store the program from “0x20000400” through the end address which can be
transmitted. For the last transfer address available, refer to “Product Information” in
Reference manual.
Internal flash
memory
From “0x5E001000” up to the (maximum capacity - N x3 -1) of Code flash can be
used as the password area. (N is password length)
Data flash cannot be used as the password area.
6.6.5. Operation Command
The boot program provides the following operation commands:
Table 6.6 Operation commands in single boot mode
Operation command data
Operation mode
0x10
RAM transfer
0x40
Flash memory erasing
6.6.5.1. RAM transfer
The RAM transfer is to store data from the controller to on-chip RAM. When the transfer is complete normally, a
user program starts. The memory address of “0x20000400” or later can be used for a user program except
“0x20000000” to “0x200003FF” where the addresses are used for the boot program. The execution start address
means the start address to store data in the RAM.
This RAM transfer function can perform user's own on-board programming control.In order to execute the on-board
programming by a user program, refer to “6.5How to Reprogramming the Flash”.
6.6.5.2. Flash Memory Erasing
The flash memory erasing command erases the entire blocks of the flash memory except the user information area.
This command erases data flash, code flash, protect bits, and security bit regardless of a program/erase protect
condition or security status, without a password.
A user information area cannot be erased by the flash memory erasing command. If a user would like to erase this
area, execute this command and then perform the RAM transfer to execute the user information area erasing
program.