PSD913F1-B-90JI ST Microelectronics, PSD913F1-B-90JI Datasheet - Page 27

no-image

PSD913F1-B-90JI

Manufacturer Part Number
PSD913F1-B-90JI
Description
Flash In-System Programmable ISP Peripherals For 8-bit MCUs
Manufacturer
ST Microelectronics
Datasheet
Preliminary Information
The
PSD9XX
Functional
Blocks
(cont.)
9.1.1.6.2 Data Toggle
It is suggested (as with all Flash memories) to read the location again after the embedded
programming algorithm has completed to compare the byte that was written to Flash with
the byte that was intended to be written.
When using the Data Toggle method after an erase instructin, Figure 4 still applies. DQ6
will toggle until the erase operation is complete. A ‘1’ on DQ5 will indicate a timeout failure
of the erase operation, a ‘0’ indicates no error. The MCU can read any location within the
sector being erased to get DQ6 and DQ5.
PSDsoft will generate ANSI C code functions which implement these Data Toggling
algorithms.
Figure 4. Data Toggle Flow Chart
(cont.)
NO
Reset Instruction
Complete, Issue
Program/Erase
Operation Not
DQ5 & DQ6
READ DQ6
TOGGLE
TOGGLE
START
READ
DQ5
FAIL
DQ6
DQ6
=1
=
=
YES
YES
YES
NO
NO
Program/Erase
Operation is
Complete
PASS
PSD9XX Family
23

Related parts for PSD913F1-B-90JI