English
Language : 

SH7211 Datasheet, PDF (1004/1228 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family
Section 21 Flash Memory
5. The flash memory is not accessible during programming/erasing operations. Therefore, the
programming/erasing program must be downloaded to on-chip RAM in advance. Areas for
executing each procedure program for initiating programming/erasing, the user program at the
user branch destination for programming/erasing, the interrupt vector table, and the interrupt
processing routine must be located in on-chip memory other than flash memory or the external
address space.
6. After programming/erasing, access to flash memory is inhibited until FKEY is cleared.
A reset state (RES = 0) for more than at least 100 μs must be taken when the LSI mode is
changed to reset on completion of a programming/erasing operation.
Transitions to the reset state during programming/erasing are inhibited. When the reset signal
is accidentally input to the LSI, a longer period in the reset state than usual (100 μs) is needed
before the reset signal is released.
7. Switching of the MATs by FMATS is needed for programming/erasing of the user MAT in
user boot mode. The program which switches the MATs should be executed from the on-chip
RAM. For details, see section 21.7.1, Switching between User MAT and User Boot MAT.
Please make sure you know which MAT is selected when switching the MATs.
8. When the program data storage area indicated by the FMPDR parameter in the programming
processing is within the flash memory area, an error will occur. Therefore, temporarily transfer
the program data to on-chip RAM to change the address set in FMPDR to an address other
than flash memory.
Based on these conditions, tables 21.16 and 21.17 show the areas in which the program data can
be stored and executed according to the operation type and mode.
Table 21.16 Executable MAT
Initiated Mode
Operation
User Program Mode
User Boot Mode*
Programming
Table 21.17 (1)
Table 21.17 (3)
Erasing
Table 21.17 (2)
Table 21.17 (4)
Note: * Programming/Erasing is possible to user MATs.
Rev. 2.00 May. 08, 2008 Page 980 of 1200
REJ09B0344-0200