Operation Mode Of The Flash Memory; Command Execution - Toshiba TXZ Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

4.1.1. Operation Mode of the Flash Memory

The flash memory has three main operation modes:
-
Read the memory data (Read mode)
-
Input command for erasing/programming (Command sequence input mode)
-
Erase/program data automatically (Automatic operation mode)
After power-on, or after reset, the flash memory enters read mode if the automatic operation is properly completed.
Instructions described in the flash memory or data reading is executed in read mode.
The operation mode enters to Command sequence input mode after area setting. A command is inputted during this
mode, the flash memory enters automatic operation mode. When a command processing is completed properly, the
flash memory returns to read mode except the case that ID-Read command is handled. During the automatic
operation mode, data reading or instruction on the flash memory cannot be executed.

4.1.2. Command Execution

A command is executed on the flash memory with the store instruction by inputting the command sequence after
area setting. The flash memory executes an automatic operation command depending on the combination of input
address and data. For details of command execution, refer to "4.1.3Command Description".
A cycle where the store instruction is executed on the flash memory is called "bus write cycle". Each command
takes some bus write cycle. The flash memory executes automatic operation as long as the address and data in the
bus write cycle are performed in the proper order. Otherwise, the flash memory aborts executing the command, and
returns to read mode.
When the user attempts to cancel the command sequence in the middle of the process, or inputs the undefined
command sequence, the flash memory executes the read/reset command to enter read mode. Then, tlash memory
will return to read modem if erea setting is released.
Note: Please perform cancellation until the 3
cycle in other commands.
When the command sequence is inputted completely, the flash memory starts the automatic operation and
[FCSR0]<RDYBSY>=0. When the automatic operation is completed properly, [FCSR0]<RDYBSY> is set to "1"
Another command sequence is not accepted during automatic operation.
The following cautions should be exercised when executing a command.
1. Do not perform the operation during the automatic operation below:
2. In order to recognize a command by the command sequencer, the flash memory must be in read
mode before executing the command. Thus, confirm whether [FCSR0]<RDYBSY>=1 before the
flash memory entering command sequence input mode. And selecting area then execute the
Read/Reset command.
3. Execute the following command sequences on the on-chip RAM.
2018-06-05
Power shutdown
All exceptions (Recommend)
rd
bus cycle in an automatic program command, and until the last bus
52 / 120
TXZ Family
Flash Memory
Rev. 2.0

Advertisement

Table of Contents
loading

Table of Contents