Datasheet

CHAPTER 24 FLASH MEMORY
User’s Manual U18698EJ1V0UD
519
24.6.4 Communication commands
The 78K0/LC3 communicates with the dedicated flash memory programmer by using commands. The signals sent
from the flash memory programmer to the 78K0/LC3 are called commands, and the signals sent from the 78K0/LC3 to
the dedicated flash memory programmer are called response.
Figure 24-11. Communication Commands
Command
Response
78K0/LC3
Dedicated flash
memory
programmer
PG-FP4
(Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
XXX YYY
XXXXX
XXXXXX
XXXX
XXXX YYYY
STATVE
The flash memory control commands of the 78K0/LC3 are listed in the table below. All these commands are
issued from the programmer and the 78K0/LC3 perform processing corresponding to the respective commands.
Table 24-7. Flash Memory Control Commands
Classification Command Name Function
Verify Verify
Compares the contents of a specified area of the flash memory with
data transmitted from the programmer.
Chip Erase Erases the entire flash memory. Erase
Block Erase Erases a specified area in the flash memory.
Blank check Block Blank Check
Checks if a specified block in the flash memory has been correctly
erased.
Write Programming Writes data to a specified area in the flash memory.
Status Gets the current operating status (status data).
Silicon Signature
Gets 78K0/Lx3 information (such as the part number and flash memory
configuration).
Version Get Gets the 78K0/Lx3 version and firmware version.
Getting information
Checksum Gets the checksum data for a specified area.
Security Security Set Sets security information.
Reset Used to detect synchronization status of communication. Others
Oscillating Frequency Set Specifies an oscillation frequency.
The 78K0/LC3 return a response for the command issued by the dedicated flash memory programmer. The
response names sent from the 78K0/LC3 are listed below.
Table 24-8. Response Names
Response Name Function
ACK Acknowledges command/data.
NAK Acknowledges illegal command/data.