English
Language : 

SH7058 Datasheet, PDF (897/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
Bit 2
BR
0
1
Description
User branch address setting is normal
User branch address setting is abnormal
• Bit 1—Frequency Error Detect (FQ): Returns the check result whether the specified operating
frequency of the CPU is in the range of the supported operating frequency.
Bit 1
FQ
Description
0
Setting of operating frequency is normal
1
Setting of operating frequency is abnormal
• Bit 0—Success/Fail (SF): Indicates whether initialization is completed normally.
Bit 0
SF
Description
0
Initialization has ended normally (no error)
1
Initialization has ended abnormally (error occurs)
(3) Programming Execution
When flash memory is programmed, the programming destination address on the user MAT
must be passed to the programming program in which the program data is downloaded.
1. The start address of the programming destination on the user MAT is set in general register
R5 of the CPU. This parameter is called FMPAR (flash multipurpose address area
parameter).
Since the program data is always in 128-byte units, the lower eight bits (MOA7 to MOA0)
must be H'00 or H'80 as the boundary of the programming start address on the user MAT.
2. The program data for the user MAT must be prepared in the consecutive area. The program
data must be in the consecutive space which can be accessed by using the MOV.B
instruction of the CPU and is not the flash memory space.
When data to be programmed does not satisfy 128 bytes, the 128-byte program data must
be prepared by embedding the dummy code (H'FF).
The start address of the area in which the prepared program data is stored must be set in
general register R4. This parameter is called FMPDR (flash multipurpose data destination
area parameter).
For details on the programming procedure, see section 23.5.2, User Program Mode.
(3.1) Flash multipurpose address area parameter (FMPAR: general register R5 of CPU)
This parameter indicates the start address of the programming destination on the user MAT.
When an address in an area other than the flash memory space is set, an error occurs.
Rev. 3.0, 09/04, page 856 of 1086