English
Language : 

UPSD3422_06 Datasheet, PDF (211/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
PSD module
If a Suspend Sector Erase instruction sequence was executed, the following rules apply:
● Attempting to read from a Flash memory sector that was being erased outputs invalid
data.
● Reading from a Flash memory sector that was not being erased is valid.
● The Flash memory cannot be programmed, and only responds to Resume Sector
Erase and Reset Flash instruction sequences.
● If a Reset Flash instruction sequence is received, data in the Flash memory sector that
was being erased is invalid.
28.5.18
Resume sector erase
If a Suspend Sector Erase instruction sequence was previously executed, the erase cycle
may be resumed with this instruction sequence. The Resume Sector Erase instruction
sequence consists of writing the command 30h to any valid address within the Flash array
that was suspended as shown in Table 107 on page 203.
28.5.19
Reset Flash
The Reset Flash instruction sequence resets the embedded algorithm running on the state
machine in the targeted Flash memory (Main or Secondary) and the memory goes into
Read Array mode. The Reset Flash instruction consists of one bus WRITE cycle as shown
in Table 107 on page 203, and it must be executed after any error condition that has
occurred during a Flash memory Program or Erase operation.
It may take the Flash memory up to 25µs to complete the Reset cycle. The Reset Flash
instruction sequence is ignored when it is issued during a Program or Bulk Erase operation.
The Reset Flash instruction sequence aborts any on-going Sector Erase operation and
returns the Flash memory to Read Array mode within 25µs.
28.5.20
Reset signal applied to Flash memory
Whenever the PSD Module receives a reset signal from the MCU Module, any operation
that is occurring in either Flash memory array will be aborted and the array(s) will go to
Read Array mode. It may take up to 25µs to abort an operation and achieve Read Array
mode.
A reset from the MCU Module will result from any of these events: an active signal on the
uPSD34xx RESET_IN input pin, a watchdog timer time-out, detection of low VCC, or a JTAG
debug channel reset event.
28.5.21
Flash memory sector protection
Each Flash memory sector can be separately protected against program and erase
operations. This mode can be activated (or deactivated) by selecting this feature in PSDsoft
Express and then programming through the JTAG Port. Sector protection can be selected
for individual sectors, and the 8032 cannot override the protection during run-time. The 8032
can read, but not change, sector protection.
Any attempt to program or erase a protected Flash memory sector is ignored. The 8032 may
read the contents of a Flash sector even when a sector is protected.
Sector protection status is not read using Flash memory instruction sequences, but instead
this status is read by the 8032 reading two registers within csiop address space shown in
Table 109 and Table 110.
211/293