Datasheet

Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 678 of 910
REJ09B0350-0300
The user boot Mat can be programmed or erased only in boot mode and programmer mode.
In boot mode, the user MAT and user boot MAT are totally erased. Then, the user MAT or
user boot MAT can be programmed by means of commands. Note that the contents of the
MAT cannot be read until this state.
Boot mode can be used for programming only the user boot MAT and then programming the
user MAT in user boot mode. Another way is to program only the user MAT since user boot
mode is not used.
In user boot mode, boot operation of the optional interface can be performed with mode pin
settings different from those in user program mode.
22.3 Flash Memory MAT Configuration
This LSI's flash memory is configured by the 160-Kbyte user MAT and 8-Kbyte user boot MAT.
The start address is allocated to the same address in the user MAT and user boot MAT. Therefore,
when program execution or data access is performed between two MATs, the MAT must be
switched by using FMATS.
The user MAT or user boot MAT can be read in all modes. However, the user boot MAT can be
programmed only in boot mode and programmer mode.
<User MAT>
<User boot MAT>
Address H'000000
Address H'027FFF
Address H'000000
Address H'001FFF
160K bytes
8K bytes
Figure 22.3 Flash Memory Configuration
The size of the user MAT is different from that of the user boot MAT. An address that exceeds the
size of the 8-Kbyte user boot MAT should not be accessed. If the attempt is made, data is read as
an undefined value.