CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ3V0UD
275
Figure 18-11. Self Programming State Transition Diagram
Register for
self programming
Self programming mode
Self programming
command under execution
Normal mode
User program
Operation
setting
Operation reference
Flash memory
Flash memory
control block (hardware)
Specific sequence
Self programming
command completion/error
Self programming command
execution by HALT instruction
Operation setting
Table 18-11. Self Programming Controlling Commands
Command Name
Function
Time Taken from HALT Instruction Execution
to Command Execution End
Internal verify
This command is used to check if data has been
correctly written to the flash memory. After data has
been written to the memory, specify the block number,
the start address, and the end address, then execute
this command.
Internal verify for 1 block (internal verify
command executed once): 6.8 ms
Internal verify for 1 byte:
27
µ
s
Block erasure
This command is used to erase a specified block.
Specify the block number before execution.
8.5 ms
Block blank check
This command is used to check if data in a specified
block has been erased. Specify the block number,
then execute this command.
480
µ
s
Byte write
This command is used to write 1-byte data to the
specified address in the flash memory. Specify the
write address and write data, then execute this
command.
150
µ
s