English
Language : 

SH7058 Datasheet, PDF (975/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
table, interrupt processing routine, and user branch program should be transferred to on-chip
RAM before programming/erasing of the flash memory starts.
(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 or hardware standby mode 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 23.8.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 23.29 and 23.30 show the areas in which the program data can
be stored and executed according to the operation type and mode.
Table 22.29 Executable MAT
Initiated Mode
Operation
User Program Mode
Programming
Table 23.30 (1)
Erasing
Table 23.30 (2)
Note: *Programming/Erasing is possible to user MATs.
User Boot Mode*
Table 23.30 (3)
Table 23.30 (4)
Rev. 3.0, 09/04, page 934 of 1086