TXZ Family
Flash Memory
2018-06-05
12 / 120
Rev. 2.0
1. Outline
The code flash which stores a program code, and the data flash which stores data are explained.
A code flash stores an instruction code, and CPU reads and executes it.
There is user information area which can be accessed in a code flash by bank change. Since user information area is
not erased by a chip erasing command, for example, it can be written a unique management number etc. for every
chip.
A data flash stores data, and even if power supply is intercepted, it keeps data.
Table 1.1 Functional description (code flash)
Flash memory
Function
classification
Function
Functional Description
Comments
Code Flash
1.5MB
1.0MB
768KB
512KB
Programming and
Erasing
Automatic
Programming
Data programming is performed
at 4 words (16 bytes).
Automatic chip erasing
Erasing of all the area of a flash
memory is performed
automatically.
Object:
Code flash
Data flash
Except User
information
area in code
flash.
Automatic area erasing Erasing in an area unit is
performed automatically.
Automatic block erasing Erasing in a block unit is
performed automatically.
Automatic page erasing Erasing in a page unit is
performed automatically.
Program/erase
protection
Protection
Programming and erasing can
be prohibited per block.(Note)
Security
Security
Prohibition of read-out from the
flash memory by a flash writer
and using a debugging tools.
Memory swap
Automatic memory
swap
Swap /swap release /swap size
specification of a code flash
block is performed automatically.
Execute Instruction
Execute Instruction
Instructions can be executed.
program/erase to
other Flash I/F
program/erase to
code/data Flash I/F
Basic operation to a code/data
flash can be performed.
Dual mode
Note: First 32KB of each FLASH I/F is protected by page unit.