
CHAPTER 16 FLASH MEMORY
User’s Manual U12768EJ4V1UD
412
The following shows the commands for flash memory control of the V850/SA1. All of these commands are issued
from the dedicated flash programmer, and the V850/SA1 performs the various processing corresponding to the
commands.
Table 16-6. Commands for Flash Memory Control
Category
Command Name
Function
One-shot verify command
Compares the contents of the entire memory and
the input data.
Verify
Area verify command
Compares the contents of the specified area and
the input data.
One-shot erase command
Erases the contents of the entire memory.
Area erase command
Erases the contents of the specified area.
Erase
Write back command
Writes back the contents which is overerased.
One-shot blank check command
Checks the erase state of the entire memory.
Blank check
Area blank check command
Checks the erase state of the specified area.
High-speed write command
Writes data by the specification of the write
address and the number of bytes to be written,
and executes a verify check.
Data write
Continuous write command
Writes data from the address following the high-
speed write command executed immediately
before, and executes a verify check.
Status read out command
Acquires the status of operations.
Oscillating frequency setting command
Sets the oscillation frequency.
Erasing time setting command
Sets the erasing time of one-shot erase.
Writing time setting command
Sets the writing time of data write.
Write back time setting command
Sets the write back time.
Baud rate setting command
Sets the baud rate when using UART.
Silicon signature command
Reads outs the silicon signature information.
System setting and control
Reset command
Escapes from each state.
The V850/SA1 sends back response commands to the commands issued from the dedicated flash programmer.
The following shows the response commands the V850/SA1 sends out.
Table 16-7. Response Commands
Response Command Name
Function
ACK (acknowledge)
Acknowledges command/data, etc.
NAK (not acknowledge)
Acknowledges illegal command/data, etc.
16.6.5 Resources used
The resources used in the flash memory programming mode are all the FFE000H to FFE7FFH area of the internal
RAM and all the registers. The FFE800H to FFEFFFH area of the internal RAM retains data as long as the power is
on. The registers that are initialized by reset are changed to the default values.