Datasheet
Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 533 of 710
REJ09B0384-0300
(a) Flash multipurpose address area parameter (FMPAR: general register ER1 of CPU)
This parameter stores the start address of the programming destination on the user MAT.
When the address in the area other than flash memory space is set, an error occurs.
The start address of the programming destination must be at the 128-byte boundary. If this
boundary condition is not satisfied, an error occurs. The error occurrence is indicated by the WA
bit (bit 1) in FPFR.
Bit Bit Name
Initial
Value
R/W Description
31 to 0 MOA31 to
MOA0
⎯ R/W Store the start address of the programming destination
on the user MAT. The consecutive 128-byte
programming is executed starting from the specified start
address of the user MAT. Therefore, the specified
programming start address becomes a 128-byte
boundary and MOA6 to MOA0 are always 0.
(b) Flash multipurpose data destination parameter (FMPDR: general register ER0 of
CPU):
This parameter stores the start address in the area which stores the data to be programmed in the
user MAT. When the storage destination of the program data is in flash memory, an error occurs.
The error occurrence is indicated by the WD bit in FPFR.
Bit Bit Name
Initial
Value
R/W Description
31 to 0 MOD31 to
MOD0
⎯ R/W Store the start address of the area which stores the
program data for the user MAT. The consecutive 128-
byte data is programmed to the user MAT starting from
the specified start address.
(c) Flash pass/fail parameter (FPFR: general register R0L of CPU)
This parameter indicates the return value of the program processing result.
Bit Bit Name
Initial
Value
R/W Description
7 ⎯ ⎯ ⎯ Unused
Return 0.