English
Language : 

SH7052 Datasheet, PDF (748/919 Pages) Renesas Technology Corp – SuperHTM RISC engine
20.10 Note on Flash Memory Programming/Erasing
In the on-board programming modes (user mode and user program mode), NMI input should be
disabled to give top priority to the program/erase operations (including RAM emulation).
Do not perform a write to a ROM area immediately after an ATU register write cycle. For details,
see “Writing to ROM Area Immediately after ATU Register Write” in section 10.7, Usage Notes.
When reading flash memory after changing the SWE1 bit from 1 to 0 on completion of a
program/erase operation, wait for at least tCSWE after clearing SWE1 to 0 before executing the flash
memory read. Regarding the timing of RES input after changing the SWE1 bit from 1 to 0 on
completion of a program/erase operation, wait for at least tCSWE after clearing SWE1 to 0 before
executing the reset operation.
20.11 Flash Memory Programmer Mode
Programs and data can be written and erased in programmer mode as well as in the on-board
programming modes. In programmer mode, flash memory read mode, auto-program mode, auto-
erase mode, and status read mode are supported. In auto-program mode, auto-erase mode, and
status read mode, a status polling procedure is used, and in status read mode, detailed internal
signals are output after execution of an auto-program or auto-erase operation.
In programmer mode, set the mode pins to programmer mode (see table 20.12) and input a 6 MHz
input clock, so that the SH7052F/SH7053F runs at 24 MHz.
Table 20.12 shows the pin settings for programmer mode. For the pin names in programmer mode,
see section 1.3.2, Pin Functions.
Table 20.12 PROM Mode Pin Settings
Pin Names
Mode pins: MD2, MD1, MD0
FWE pin
RES pin
XTAL, EXTAL, PLLVCC, PLLCAP,
PLLVSS pins
Settings
0, 1, 1
High level input (in auto-program and auto-erase
modes)
Power-on reset circuit
Oscillator circuit
722