CHAPTER 26 FLASH MEMORY
Preliminary User’s Manual U17260EJ3V1UD
571
26.7.4 Communication commands
The 78K0/KE2 communicates with the dedicated flash programmer by using commands. The signals sent from the
flash programmer to the 78K0/KE2 are called commands, and the signals sent from the 78K0/KE2 to the dedicated
flash programmer are called response.
Figure 26-14. Communication Commands
Command
Response
78K0/KE2
Dedicated flash
programmer
PG-FP4
(Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
X
X
X
Y
Y
Y
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Y
Y
Y
Y
STATVE
The flash memory control commands of the 78K0/KE2 are listed in the table below. All these commands are
issued from the programmer and the 78K0/KE2 perform processing corresponding to the respective commands.
Table 26-8. Flash Memory Control Commands
Classification Command
Name
Function
Verify Batch
verify
command
Compares the contents of the entire memory
with the input data.
Erase
Batch erase command
Erases the contents of the entire memory.
Blank check
Batch blank check command
Checks the erasure status of the entire memory.
High-speed write command
Writes data by specifying the write address and
number of bytes to be written, and executes a
verify check.
Data write
Successive write command
Writes data from the address following that of
the high-speed write command executed
immediately before, and executes a verify
check.
Status read command
Obtains the operation status
Oscillation frequency setting command
Sets the oscillation frequency
Erase time setting command
Sets the erase time for batch erase
Write time setting command
Sets the write time for writing data
Baud rate setting command
Sets the baud rate when UART is used
Silicon signature command
Reads the silicon signature information
System setting, control
Reset command
Escapes from each status
The 78K0/KE2 return a response for the command issued by the dedicated flash programmer. The response
names sent from the 78K0/KE2 are listed below.
Table 26-9. Response Names
Response Name
Function
ACK Acknowledges
command/data.
NAK
Acknowledges illegal command/data.