Datasheet
Rev.6.00 Oct.28.2004 page 650 of 1016
REJ09B0138-0600H
19.22.3 Programmer Mode Operation
Table 19-40 shows how the different operating modes are set when using programmer mode, and table 19-41 lists the
commands used in programmer mode. Details of each mode are given below.
Memory Read Mode: Memory read mode supports byte reads.
Auto-Program Mode: Auto-program mode supports programming of 128 bytes at a time. Status polling is used to
confirm the end of auto-programming.
Auto-Erase Mode: Auto-erase mode supports automatic erasing of the entire flash memory. Status polling is used to
confirm the end of auto-erasing.
Status Read Mode: Status polling is used for auto-programming and auto-erasing, and normal termination can be
confirmed by reading the I/O
6
signal. In status read mode, error information is output if an error occurs.
Table 19-40 Settings for Each Operating Mode in Programmer Mode
Pin Names
Mode CE OE WE I/O
7
to I/O
0
A
18
to A
0
Read L L H Data output Ain
Output disable L H H Hi-Z ×
Command write L H L Data input Ain*
2
Chip disable*
1
H ××Hi-Z ×
Legend:
H: High level
L: Low level
Hi-Z: High impedance
×: Don’t care
Notes: 1. Chip disable is not a standby state; internally, it is an operation state.
2. Ain indicates that there is also address input in auto-program mode.
Table 19-41 Programmer Mode Commands
Number
1st Cycle 2nd Cycle
Command Name of Cycles Mode Address Data Mode Address Data
Memory read mode 1 + n Write × H'00 Read RA Dout
Auto-program mode 129 Write × H'40 Write PA Din
Auto-erase mode 2 Write × H'20 Write × H'20
Status read mode 2 Write × H'71 Write × H'71
Legend:
RA: Read address
PA: Program address
×: Don't care
Notes: 1. In auto-program mode, 129 cycles are required for command writing by a simultaneous 128-byte write.
2. In memory read mode, the number of cycles depends on the number of address write cycles (n).