Command Sequence - Fujitsu FR60 Hardware Manual

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 17 FLASH MEMORY
17.4.1

Command Sequence

This section describes the command sequence for starting the automatic algorithm.
■ Automatic Algorithm Command Sequence
At the start of the automatic algorithm, one to six half-words (16 bits) are written continuously. This data is
called the command.
If the address and data to be written are invalid or are written in an incorrect sequence, the flash memory is
reset to read mode.
Note:
The MB91F355A, MB91F353A, MB91F357B and MB91F357B each contain two 256K bytes flash
memories, and MB91F356B contains two 129K bytes flash memories. Note that the command
addresses are different by each flash memory. In addition, chip erase must be executed for ROM 1
and ROM 2 to erase the entire 512K bytes/256K bytes area.
Table 17.4-1 lists commands that can be used to write data to or erase data from flash memory.
When writing data using FR-CPU, write data with halfwords (16 bits). (The table lists the addresses in CPU
mode.)
Table 17.4-1 Command Sequence
Command
Bus
ROM
sequence
write
cycle
Read/Reset
1
Com-mon
Read/Reset
3
ROM1
ROM2
Write
4
ROM1
ROM2
Chip Erase
6
ROM1
ROM2
Sector
6
ROM1
Erase
ROM2
Temporary Sector Erase Stop
Sector Erase Restart
- In the command sequence, set the high-order 16-bit addresses as arbitrary flash memory spaces. (In Table 17.4-1, the high-order addresses are indicated by an asterisk.)
- The commands are the same for word mode and byte mode. The data of bits that are not listed in the table is arbitrary.
- All addresses and data are represented in hexadecimal notation.
(RA): Read address
(PA): Write address
(SA): Sector address (Specify any address in a sector.)
(RD): Read data
(PD): Write data
- The temporary sector erase stop (B0
- Both types of reset commands can reset either flash memory in read mode.
548
First bus write
Second bus
cycle
write cycle
Address
Data
Address
*xxxx
FO
*AAAA
AA
*5552
*AAAE
AA
*5556
*AAAA
AA
*5552
*AAAE
AA
*5556
*AAAA
AA
*5552
*AAAE
AA
*5556
*AAAA
AA
*5552
*AAAE
AA
*5556
When an address (*XXXX) and data (B0) are inputted, erasing of the sector currently being erased is temporarily stopped.
When an address (*XXXX) and data (30) are inputted, erasing is restarted after erasing of the sector has been temporarily stopped.
) and sector erase restart (30
) commands are valid only during a sector erase operation.
H
H
Third bus write
Fourth bus write
cycle
Data
Address
Data
Address
55
*AAAA
FO
(RA)
55
*AAAE
FO
(RA)
55
*AAAA
AO
(PA)
55
*AAAE
AO
(PA)
55
*AAAA
80
*AAAA
55
*AAAE
80
*AAAE
55
*AAAA
80
*AAAA
55
*AAAE
80
*AAAE
Fifth bus write
cycle
cycle
Data
Address
Data
(RD)
(RD)
(PD)
(PD)
AA
*5552
55
AA
*5556
55
AA
*5552
55
AA
*5556
55
Sixth bus write
cycle
Address
Data
*AAAA
10
*AAAE
10
(SA)
30
(SA)
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents