TXZ Family
Flash Memory
2018-06-05
51 / 120
Rev. 2.0
4. Details of Flash Memory
Flash memory is Programmed/erased data by executing a command in the control program. This programming/
erasing control program must be prepared by users in advance.
While a program is executing on a memory in FLASH I/F0, an other memory region in FLASH I/F (for example,
FLASH I/F2<Area 4>: Data Flash memory) can be erased or written if the latter memory does not operate (and vice
versa).This usage is called “dual mode” in this document.
Functions
Flash memory programming and erasing operation are generally compliant with the JEDEC standards commands
except for some specific functions; however address assignment of an operational command is different from
standard commands.
When programming/erasing operation is performed, a command is input to the flash memory with 32-bit (one word)
store instruction. After the command is input, program or erase operation is internally automatically performed.
Table 4.1 Flash memory function
Main functions
Description
Automatic programming
Code flash: Program data in 4 word unit (16 bytes) automatically.
Data flash: Program data in 1 word unit (4 bytes) automatically.
Automatic chip erasing
Erases the entire flash memory at one time automatically.(Note1)
Automatic area erasing
Erases the flash memory in the unit of the area automatically.
Automatic block erasing
Erases the flash memory in the unit of the block automatically.(Note2)
Automatic page erasing
Erases the flash memory in the unit of the page automatically.
Automatic protect
Protects the flash memory from data program and erase operation.
Automatic security
Security setting to the flash memory and release security operation.
Automatic memory swap
Specifies memory swap, memory swap release, or swap size of the
code flash area automatically.
Note1: Except user information area.
Note2: Block0 of code flash cannot be erased by one time. Please erase for every page by automatic page
erasing command.