
CHAPTER 28 FLASH MEMORY
Preliminary User’s Manual U16541EJ1V0UM
827
28.6.4 Communication command
The V850ES/SG2 communicate with the dedicated flash programmer by means of commands. The command sent
from the dedicated flash programmer to the V850ES/SG2 is called a “command”. The response signal sent from the
V850ES/SG2 to the dedicated flash programmer is called a “response command”.
Figure 28-12. Communication Command
Dedicated flash programmer
V850ES/SG2
Command
Response command
PG-FP4 (Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
XX
X
YY
Y
X
XX
YY
STATVE
The following shows the commands for flash memory control of the V850ES/SG2. All of these commands are
issued from the dedicated flash programmer, and the V850ES/SG2 perform the various processing corresponding to
the commands.
Table 28-5. Flash Memory Control Command
Support
Category
Command Name
CSIB
CSIB + HS UARTA
Function
Blank check
Block blank check command
√√
√
Checks the erase state of the entire memory.
Chip erase command
√√
√
Erases the contents of the entire memory.
Erase
Block erase command
√√
√
Erases the contents of the specified block memory.
Write
Write command
√√
√
Writes data according to the specification of the
write address and the number of bytes to be
written, and executes a verify check.
Verify
Verify command
√√
√
Compares the contents of the entire memory and
the input data.
Reset command
√√
√
Escapes from each state.
Oscillating frequency setting
command
√√
√
Sets the oscillation frequency.
Baud rate setting command
√
Sets the baud rate when using UART.
Silicon signature command
√√
√
Reads the silicon signature information.
Version acquisition command
√√
√
Reads the version information of the device.
Status command
√√
Acquires the operation status.
System
setting and
control
Security setting command
√√
√
Erases chip and blocks, and sets security of write.
The V850ES/SG2 return response commands to the commands issued from the dedicated flash programmer. The
following shows the response commands returned by the V850ES/SG2.
Table 28-6. Response Commands
Response Command Name
Function
ACK
Acknowledges command/data, etc.
NAK
Acknowledges illegal command/data, etc.