English
Language : 

SH7059 Datasheet, PDF (785/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
24. ROM (SH7058S)
24.9.6 Status-Read Mode
(1) Status-read mode is used to determine the type of an abnormal termination. Use this mode when automatic
programming or automatic erasure ends abnormally.
(2) The return code is retained until writing of a command that selects a mode other than status-read mode.
Table 24.16 lists the return codes of status-read mode.
For the AC characteristics in status-read mode, see section 24.10.2, AC Characteristics and Timing in Programmer Mode.
Table 24.16 Return Codes of Status-Read Mode
Pin Name
I/O7
I/O6
I/O5
I/O4
I/O3 I/O2 I/O1
I/O0
Attribute Normal end Command Programming Erasure error —
—
Programming Invalid
indicator error
error
or erase count address
exceeded
error
Initial value 0
0
0
0
0
0
0
0
Indication Normal end: Command Programming Erasure
—
—
Count
Invalid
0
error: 1
error: 1
error:1
exceeded: 1 address
Abnormal Otherwise: 0 Otherwise: 0 Otherwise: 0
Otherwise: 0 error: 1
end: 1
Otherwise: 0
Note: I/O2 and I/O3 are undefined pins.
24.9.7 Status Polling
(1) The I/O7 status-polling output is a flag that indicates the operating status in auto-program or auto-erase mode.
(2) The I/O6 status-polling output is a flag that indicates normal/abnormal end of auto-program or auto-erase mode.
Table 24.17 Truth Table of Status-Polling Output
Pin Name
I/O7
I/O6
I/O0 to I/O5
In Progress
0
0
0
Abnormal End
—
1
0
0
1
0
0
Normal End
1
1
0
24.9.8 Time Taken in Transition to Programmer Mode
Until oscillation has stabilized and while programmer mode is being set up, the LSI is unable to accept commands. After
the programmer-mode setup time has elapsed, the LSI enters memory-read mode. For details, see section 24.10.2, AC
Characteristics and Timing in Programmer Mode.
24.9.9 Notes on Programming in Programmer Mode
(1) When programming addresses which have previously been programmed, apply auto-erasing before auto-programming.
(2) When using programmer mode to program a chip that has been programmed/erased in an on-board programming
mode, auto-erasing before auto-programming is recommended.
(3) Do not take the chip out of the PROM programmer or reset the chip during programming or erasure. Flash memory is
susceptible to permanent damage since a high voltage is being applied during the programming/erasing. When the
reset signal is accidentally input to the chip, the period in the reset state until the reset signal is released should be
longer than the normal 100 μs.
Rev.3.00 Mar. 12, 2008 Page 695 of 948
REJ09B0177-0300