English
Language : 

SH7059 Datasheet, PDF (835/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
25. ROM (SH7059)
Bit :
31
30
29
28
27
26
25
24
MOD31 MOD30 MOD29 MOD28 MOD27 MOD26 MOD25 MOD24
Bit :
23
22
21
20
19
18
17
16
MOD23 MOD22 MOD21 MOD20 MOD19 MOD18 MOD17 MOD16
Bit :
15
14
13
12
11
10
9
8
MOD15 MOD14 MOD13 MOD12 MOD11 MOD10 MOD9 MOD8
Bit :
7
6
5
4
3
2
1
0
MOD7 MOD6 MOD5 MOD4 MOD3 MOD2 MOD1 MOD0
• Bits 31 to 0—MOD31 to MOD0: 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.
(3.3) Flash pass/fail parameter (FPFR: general register R0 of CPU)
This parameter indicates the return value of the program processing 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
MD
EE
FK
0
WD
WA
SF
• Bits 31 to 7—Unused: Return 0.
• Bit 6—Programming Mode Related Setting Error Detect (MD): Returns the check result of whether the signal input to
the FWE pin is high and whether the error protection state is entered.
When a low-level signal is input to the FWE pin or the error protection state is entered, 1 is written to this bit. The input
level to the FWE pin and the error protection state can be confirmed with the FWE bit (bit 7) and the FLER bit (bit 4) in
FCCS, respectively. For conditions to enter the error protection state, see section 25.6.3, Error Protection.
Bit 6
MD
0
1
Description
FWE and FLER settings are normal (FWE = 1, FLER = 0)
FWE = 0 or FLER = 1, and programming cannot be performed
• Bit 5—Programming Execution Error Detect (EE): 1 is returned to this bit when the specified data could not be written
because the user MAT was not erased or when flash-memory related register settings are partially changed on
returning from the user branch processing.
If this bit is set to 1, there is a high possibility that the user MAT is partially rewritten. In this case, after removing the
error factor, erase the user MAT.
If FMATS is set to H'AA and the user boot MAT is selected, an error occurs when programming is performed. In this
case, both the user MAT and user boot MAT are not rewritten.
Programming of the user boot MAT must be executed in boot mode or programmer mode.
Rev.3.00 Mar. 12, 2008 Page 745 of 948
REJ09B0177-0300