Invoking Flash Memory Automatic Algorithm - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

MB95630H Series
25.3

Invoking Flash Memory Automatic Algorithm

There are four commands that invoke the Flash memory automatic algorithm:
read/reset, program, chip erase, and sector erase. The sector erase command
is capable of suspending and resuming sector erase.
■ Command Sequence Table
Table 25.3-1 lists commands used in programming/erasing Flash memory.
Table 25.3-1
Command Sequence
1st bus write
Command
Bus write
sequence
cycle
Address
1
0xUXXX
Read/reset
Program
4
0xUAAA
Chip erase
6
0xUAAA
Sector erase
6
0xUAAA
Unlock
3
0xUAAA
bypass entry
Unlock
bypass
2
0xUXXX
program
Unlock
2
0xUXXX
bypass reset
Sector erase suspend
Sector erase resume
Erase sector add
PA : Program address
SA : Sector address (Specify any address in a sector.)
PD : Program data
U
: The upper four bits represent an address in a sector to which data can be programmed.
X
: Any address value
any : Any program data
MN702-00009-1v0-E
2nd bus write
cycle
cycle
Data
Address
Data
0xF0
-
-
0xAA
0xU554
0x55
0xAA
0xU554
0x55
0xAA
0xU554
0x55
0xAA
0xU554
0x55
0xA0
PA
PD
0x90
0xUXXX
any
Programming data "0xB0" to the address "0xUXXX" suspends erasing during sector erase.
Programming data "0x30" to the address "0xUXXX" resumes suspended sector erase.
Programming data "0x30" to the SA adds a new sector to be erased.
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER 25 DUAL OPERATION FLASH MEMORY
25.3 Invoking Flash Memory Automatic
3rd bus write
4th bus write
cycle
cycle
Address
Data
Address
-
-
-
0xUAAA
0xA0
PA
0xUAAA
0x80
0xUAAA
0xAA
0xUAAA
0x80
0xUAAA
0xAA
0xUAAA
0x20
-
-
-
-
-
-
-
5th bus write
6th bus write
cycle
Data
Address
Data
Address
-
-
-
PD
-
-
0xU554
0x55
0xUAAA
0xU554
0x55
SA
-
-
-
-
-
-
-
-
-
Algorithm
cycle
Data
-
-
-
-
0x10
0x30
-
-
-
-
-
535

Advertisement

Table of Contents
loading

Table of Contents