English
Language : 

SH7059 Datasheet, PDF (833/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
25. ROM (SH7059)
The download of the on-chip program, initialization, initiation of the programming/erasing program must not be executed
in the processing of the user branch destination. Programming or erasing cannot be guaranteed when returning from the
user branch destination. The program data which has already been prepared must not be programmed.
Store general registers R8 to R15 and the control register (GBR). General registers R0 to R7 are available without storing
them.
Moreover, the programming/erasing interface registers must not be written to or RAM emulation mode must not be
entered in the processing of the user branch destination.
After the processing of the user branch has ended, the programming/erasing program must be returned to by using the RTS
instruction.
For the execution intervals of the user branch processing, see note 2 (User branch processing intervals) in section 25.8.3,
Other Notes.
(2.3) Flash pass/fail result parameter (FPFR: general register R0 of CPU)
This parameter indicates the return value of the initialization result.
Bit :
31
30
29
28
27
26
25
24
0
0
0
0
0
0
0
0
Bit :
23
22
21
20
19
18
17
16
0
0
0
0
0
0
0
0
Bit :
15
14
13
12
11
10
9
8
0
0
0
0
0
0
0
0
Bit :
7
6
5
4
3
2
1
0
0
0
0
0
0
BR
FQ
SF
• Bits 31 to 3—Unused: Return 0.
• Bit 2—User Branch Error Detect (BR): Returns the check result whether the specified user branch destination address
is in the area other than the storage area of the programming/erasing program which has been downloaded .
Bit 2
BR
Description
0
User branch address setting is normal
1
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.
Rev.3.00 Mar. 12, 2008 Page 743 of 948
REJ09B0177-0300