For detail of the reset operation, refer to "Reset". After a given reset input, CPU will read the reset vector da-
ta and then starts the routine after reset.
22.2.4 How to Execute Command
The command execution is performed by writing command sequences to Flash memory with a store instruc-
tion. Flash memory executes each automatic operation command according to the combination of input address-
es and data. For detail of the command execution, refer to "22.2.5 Command Description".
An execution of store instruction to the Flash memory is called "bus write cycle". Each command consists
of some bus write cycles. In Flash memory, when address and data of bus write cycle are performed in the speci-
fied order, the automatic command operation is performed. When the cycle is performed in non-specified or-
der, Flash memory stops command execution and returns to the read mode.
If you cancel the command during the command sequence or input a different command sequence, exe-
cute the read command or read/reset command. Then Flash memory stops command execution and returns to
the read mode. The read command and read/reset command are called "software reset".
When write command sequence ends, the automatic operation starts and FCSR<RDY_BSY> is set to "0".
When the automatic operation normally ends, FCSR<RDY_BSY> = "1" is set and Flash memory returns to
the read mode.
New command sequences are not accepted during the automatic operation. If you want to stop the com-
mand operation, use a hardware reset. In case that the automatic operation abnormally ends
(FCSR<RDY_BSY> remains "0"), Flash memory remains locked and will not return to the read mode. To re-
turns to the read mode, use a hardware reset. If the hardware reset stops the command operation, commands
are not normally executed.
Notes on the command execution;
1. To recognize command, command sequencer need to be in the read mode before command start-
ing. Confirm FCSR<RDY_BSY> = 1 is set prior to the first bus write cycle of each command. Con-
secutively, it is recommended that the read command is executed.
2. Execute each command sequence from outside of Flash memory.
3. Execute sequentially each bus write cycle by data transfer instruction in one-word (32-bit).
4. Do not access Flash memory during the each command sequence. Do not generate any interrupt or
fault except reset.
5. Upon issuing a command, if any address or data is incorrectly written, make sure to return to the
read mode by using software reset.
22.2.5 Command Description
This section explains each command content. For detail of specific command sequences, refer to "22.2.6
TMPM3V6/M3V4
22.
Flash Memory Operation
22.2 Detail of Flash Memory
Page 454
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......