English
Language : 

UPSD3422_06 Datasheet, PDF (203/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
PSD module
Table 107. Flash memory instruction sequences(1,2)
Instr.
Seq.
Bus
Bus
Bus
Bus
Bus
Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5
Bus
Cycle 6
Bus
Cycle 7
Link
Read
Memory
Contents
(Read
Array
mode)
Program
(write) a
Byte to
Flash
Memory
Bypass
Unlock
Program a
Byte to
Flash
Memory
with
Bypassed
Unlock
Reset
Bypass
Unlock
Flash Bulk
Erase(3)
Flash
Sector
Erase
Suspend
Sector
Erase
Resume
Sector
Erase
Reset
Flash
Read byte
from any valid
Flash
memory addr
Write AAh to Write 55h
X555h
to XAAAh
(unlock)
(unlock)
Write A0h Write data
to X555h byte to
(command) address
Write AAh to Write 55h
X555h
to XAAAh
(unlock)
(unlock)
Write 20h
to X555h
(command)
Write A0h to
XXXXh
(command)
Write data
byte to
address
Write 90h to
XXXXh
(command)
Write 00h
to XXXXh
(command)
Write AAh to Write 55h
X555h
to XAAAh
(unlock)
(unlock)
Write 80h Write AAh Write 55h
to X555h to X555h to XAAAh
(command) (unlock) (unlock)
Write AAh to Write 55h
X555h
to XAAAh
(unlock)
(unlock)
Write 80h Write AAh Write 55h
to X555h to X555h to XAAAh
(command) (unlock) (unlock)
Write B0h to
address that
activates FSx
or CSBOOTx
where erase
is in progress
(command)
Write 30h to
address that
activates FSx
or CSBOOTx
where
desired to
resume erase
(command)
Write F0h to
address that
activates FSx
or CSBOOTx
in desired
array.
(command)
Read memory
contents. on
page 204
Programming
Flash memory.
on page 205
Bypassed
unlock
sequence on
page 209
Bypassed
unlock
sequence on
page 209
Write 10h to
X555h
(command)
Write 30h to
desired
Sector
(command)
Write 30h to
another
Sector
(command)
Bypassed
unlock
sequence on
page 209
Flash bulk
erase on
page 209
Flash sector
erase on
page 210
Suspend
sector erase
on page 210
Resume
sector erase
on page 211
Reset Flash
on page 211
Note: 1 All values are in hexadecimal, X = Don’t care
2 8032 addresses A12 through A15 are “Don’t care” during the instruction sequence
decoding. Only address bits A0-A11 are used during decoding of Flash memory instruction
203/293