psd4235g2 STMicroelectronics, psd4235g2 Datasheet - Page 45

no-image

psd4235g2

Manufacturer Part Number
psd4235g2
Description
Flash In-system Programmable Isp Peripherals For 16-bit Mcus 5v Supply
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
psd4235g2-12U
Manufacturer:
ST
0
Part Number:
psd4235g2-12UI
Manufacturer:
ST
0
Part Number:
psd4235g2-70U
Manufacturer:
ST
Quantity:
210
Part Number:
psd4235g2-70U
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
psd4235g2-70U
Manufacturer:
ST
0
Part Number:
psd4235g2-70UI
Manufacturer:
ST
0
Part Number:
psd4235g2-90U
Manufacturer:
MURATA
Quantity:
34 000
Part Number:
psd4235g2-90U
Manufacturer:
ST
Quantity:
20 000
Part Number:
psd4235g2-90UI
Manufacturer:
TI
Quantity:
8 802
Part Number:
psd4235g2-90UI
0
Part Number:
psd4235g2V-90U
Manufacturer:
SHARP
Quantity:
201
PSD4235G2
9.3
since the Toggle Flag bit (DQ6/DQ14) may have changed simultaneously with the Error Flag
bit (DQ5/DQ13, see
The Error Flag bit (DQ5/DQ13) is set if either an internal timeout occurred while the
embedded algorithm attempted to program, or if the MCU attempted to program a ’1’ to a bit
that was not erased (not erased is logic 0).
It is suggested (as with all Flash memories) to read the location again after the embedded
programming algorithm has completed, to compare the word that was written to Flash
memory with the word that was intended to be written.
When using the Data Toggle method after an Erase cycle,
Flag bit (DQ6/DQ14) toggles until the Erase cycle is complete. A '1' on the Error Flag bit
(DQ5/DQ13) indicates a timeout condition on the Erase cycle, a ’0’ indicates no error. The
MCU can read any even location within the sector being erased to get the Toggle Flag bit
(DQ6/DQ14) and the Error Flag bit (DQ5/DQ13).
PSDsoft Express generates ANSI C code functions which implement these Data Toggling
algorithms.
Unlock Bypass
The Unlock Bypass instruction allows the system to program words to the Flash memories
faster than using the standard Program instruction. The Unlock Bypass mode is entered by
first initiating two Unlock cycles. This is followed by a third WRITE cycle containing the
Unlock Bypass command, 20h (as shown in
Unlock Bypass mode.
A two-cycle Unlock Bypass Program instruction is all that is required to program in this
mode. The first cycle in this instruction contains the Unlock Bypass Program command,
A0h. The second cycle contains the program address and data. Additional data is
programmed in the same manner. This mode dispense with the initial two Unlock cycles
required in the standard Program instruction, resulting in faster total programming time.
During the unlock bypass mode, only the Unlock Bypass Program and Unlock Bypass Reset
instructions are valid.
To exit the Unlock Bypass mode, the system must issue the two-cycle Unlock Bypass Reset
instruction. The first cycle must contain the data 90h; the second cycle the data 00h.
Addresses are Don’t Care for both cycles. The Flash memory then returns to READ mode.
Figure
6).
Table
29). The Flash memory then enters the
Figure 6
Programming Flash memory
still applies. the Toggle
45/129

Related parts for psd4235g2