Starting The Flash Memory Automatic Algorithm - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 24 512K-BIT FLASH MEMORY
24.5

Starting the Flash Memory Automatic Algorithm

Three types of commands are available for starting the flash memory automatic
algorithm: Read/Reset, Write, and Chip Erase.
Command Sequence Table
Table 24.5-1 lists the commands used for flash memory write/erase. All of the data written to the command
register is in bytes, but use word access to write. The data of the high-order bytes at this time is ignored.
Table 24.5-1 Command Sequence Table
Command
Bus
1st bus write
sequence
write
access
Address
Read/
1
FFXXXX XXF0 -
reset*
Read/
4
FFAAAA XXAA FF5554 XX55 FFAAAA XXF0 RA
reset*
Write
4
FFAAAA XXAA FF5554 XX55 FFAAAA XXA0 PA
program
Chip erase 6
FFAAAA XXAA FF5554 XX55 FFAAAA XX80 FFAAAA XXAA FF5554
Notes:• Addresses in the table are the values in the CPU memory map. All addresses and data are hexadecimal values, where
"x" is any value.
• RA: Read address
• PA: Program address. Only even addresses can be specified.
• RD: Read data
• PD: Program data. Only word data can be specified.
*: Two kinds of read/reset commands can reset flash memory to the read mode.
538
2nd bus write
cycle
cycle
Data
Address
Data
-
3rd bus write
4th bus write
cycle
cycle
Address
Data
Address
-
-
-
(even)
5th bus write
6th bus write
cycle
Data
Address
Data
Address
-
-
-
-
RD
-
-
-
PD
-
-
-
(word)
XX55 FFAAAA XX10
cycle
Data
-
-
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents