Method Of Starting The Automatic Algorithm In Flash Memory - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 23 512K / 1024K BIT FLASH MEMORY
23.4
Method of Starting the Automatic Algorithm in Flash
Memory
There are four types of commands for starting the automatic algorithm in the flash
memory, i.e., the read/reset command, write command, and chip deletion command. In
addition, the sector deletion command can be temporarily stopped and restarted.
■ Command Sequence Table
Table 23.4-1 lists the commands to be used for writing/deleting the data to the flash memory. All the data
is written to the command register in units of bytes, though it should be accessed and written in units of
words.
In this case, the data in the upper bytes is ignored.
Table 23.4-1 Command Sequence Table
Bus
1st bus write cycle 2nd bus write cycle 3rd bus write cycle 4th bus write cycle 5th bus write cycle 6th bus write cycle
Command
write
sequence
cycle
Address
Read/reset
1
FFXXXX
Read/reset
4
FFAAAA
Write
4
FFAAAA
program
Chip
6
FFAAAA
deletion
Sector
6
FFAAAA
deletion
Sector deletion temporary stop Temporarily stops the sector deletion command when inputting Address "FFXXXX" Data(xxB0
Sector deletion restart
* : Two types of read/reset commands can reset the flash memory to the read mode.
Note:
The addresses in the above table are the values on the CPU memory map. All the addresses and
data are represented in hexadecimal. However, "X" is an optional value.
RA: Read address
PA: Write address. Only the even address can be specified.
SA: Sector address.
For details, see "23.2 512K / 1024K Bit Flash Memory Sector Configuration"
RD: Read data
PD: Write data. Only the word data can be specified
592
Data
Address
Data
XXF0
-
-
XXAA
FF5554
XX55
XXAA
FF5554
XX55
XXAA
FF5554
XX55
XXAA
FF5554
XX55
Restarts the sector deletion command when inputting Address "FFXXXX" Data(xx30
Address
Data
Ad-dress
-
-
-
FFAAAA
XXF0
RA
FFAAAA
XXA0
PA (even)
FFAAAA
XX80
FFAAAA
FFAAAA
XX80
FFAAAA
Data
Address
Data
-
-
-
RD
-
-
PD
-
-
(word)
XXAA
FF5554
XX55
XXAA
FF5554
XX55
).
H
).
H
Address
Data
-
-
-
-
-
-
FFAAAA
XX10
SA (even)
XX30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents