English
Language : 

SH7059 Datasheet, PDF (754/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
24. ROM (SH7058S)
If FMATS is set to H'AA and the user boot MAT is selected, an error occurs when erasure is performed. In this case, both
the user MAT and user boot MAT are not erased.
Erasure of the user boot MAT must be executed in boot mode or programmer mode.
Bit 5
EE
0
1
Description
Erasure has ended normally
Erasure has ended abnormally (erasure result is not guaranteed)
• Bit 4—Flash Key Register Error Detect (FK): Returns the check result of FKEY value before start of the erasing
processing.
Bit 4
FK
Description
0
FKEY setting is normal (FKEY = H'5A)
1
FKEY setting is error (FKEY = value other than H'5A)
• Bit 3—Erase Block Select Error Detect (EB): Returns the check result whether the specified erase-block number is in
the block range of the user MAT.
Bit 3
EB
Description
0
Setting of erase-block number is normal
1
Setting of erase-block number is abnormal
• Bits 2 and 1—Unused: Return 0.
• Bit 0—Success/Fail (SF): Indicates whether the erasing processing has ended normally or not.
Bit 0
SF
Description
0
Erasure has ended normally (no error)
1
Erasure has ended abnormally (error occurs)
24.4.4 RAM Emulation Register (RAMER)
When the realtime programming of the user MAT is emulated, RAMER sets the area of the user MAT which is
overlapped with a part of the on-chip RAM. RAMER is initialized to H'0000 at a power-on reset or in hardware standby
mode, or in software standby mode. The RAMER setting must be executed in user mode or in user program mode.
For the division method of the user-MAT area, see table 24.7. In order to operate the emulation function certainly, the
target MAT of the RAM emulation must not be accessed immediately after RAMER is programmed. If it is accessed, the
normal access is not guaranteed.
Rev.3.00 Mar. 12, 2008 Page 664 of 948
REJ09B0177-0300