PSD8XXF2/3/4/5
20/103
INSTRUCTIONS
An instruction consists of a sequence of specific
operations. Each received byte is sequenti ally de-
coded by the PSD8XXFX and not executed as a
standard WRITE operation. The instr uction is exe-
cuted when the c orrect numbe r of bytes are prop-
erly received and the time between two
consecutive by tes is shorter t han the time-out pe-
riod. Some instructions are structured to include
READ operations after the initial WRITE opera-
tions.
The instruction must be followed exactly. Any in-
valid combination of instruction bytes or time-out
between two consecutive bytes while addressing
Flash memory resets the device logic into READ
Mode (Fl ash memory is read like a ROM device).
The PSD8XXFX supports the inst ructions sum ma-
rized in Tabl e 8:
Flash memory:
■Erase memory by chip or sector
■Suspend or resume sector erase
■Program a Byte
■Reset to READ Mode
■Read primary Flash Identifier value
■Read Secto r Protection Status
■Bypass (on the PSD833F 2, PSD834F 2,
PSD853F 2 and PSD854F2)
These inst ruc tions are detailed i n T able 8. F or ef-
ficient decoding of the instructions, the first two
bytes of an instruction are the coded cycles and
are followed by an instruction byte or confi rmation
byte. The coded cycles consist of writing the data
AAh to address X555h during the first cycle and
data 55h to address XAAA h d u r i ng the second c y-
cle. Address signals A 15-A 12 are Do n’t Care dur-
ing the instruction WRITE cycles. However, the
appropriate Sector Select (FS0-FS7 or
CSBOOT 0-CSBO OT3 ) m us t be selected.
The primary and secondary Flash memorie s have
the same instruction set (exce pt for Read Primary
Flash Identifier). The Sector Select signals deter-
mine which Flash memory is to receive and exe-
cute the i ns truction. The primary Flash memory is
selected if any one of Secto r Select (FS0-FS7) is
High, and the secondary Flash memory is selected
if any one of Sector Select (CSBOOT0-
CSBOOT3) i s High.
Power-down Instruction and Power-up Mode
Power-up Mode. The PSD8XXFX internal logic
is reset upon Power-up t o the READ Mode. Sec tor
Select (FS0-FS7 and CSBOOT0-CSBOOT3)
must be hel d Low, and Write Str obe (WR, CNTL0)
High, during Power-up for maximum security of
the data contents and to re move the poss ibility of
a byte being written on the first edge of Write
Strobe (WR, CNTL0). Any WRITE cycle initiation
is locked when VCC is b elo w V LKO.
READ
Under typical conditions, the MCU may read the
primary Flash memory or the secondary Flash
memory using REA D operations just as it would a
ROM or RAM device. Alternately, the MCU may
use REA D operations t o ob tain s tatus informat ion
about a Program or Erase cycle that is currently in
progress. Lastly, the MCU may use instructions to
read special data from these m em ory blocks. The
following sections describe these READ functions.
Read Memory Contents. Pr ima ry F lash memory
and secondary Flash memory are placed in the
READ Mode af ter Power-up, chip reset, or a Res et
Flash instruction (see Table 8). The MCU can read
the memory contents of t he primary Flash memory
or the secondary Flash memory by using READ
operations any time the READ operation is not
part of an instruction.
Read Primary Flash I dentifier. The primary
Flash memory identi fier is read with an instruction
composed of 4 operations: 3 specific WRITE oper-
ations an d a READ operation (s ee Table 8). Dur-
ing the READ operation , address bits A6, A1, and
A0 must be 0,0,1, respectively, and the a ppropri-
ate Sector Select (FS0-FS7) must be High. The
identifier for the PSD813F2/3/4/5 is E4h, and for
the PSD83xF2 or PSD85 xF2 it is E7 h.
Read Memory Sector Protection Statu s. The
primary Flash memory Sector Protect ion Status is
read with an instruction composed of 4 operations:
3 specific WRITE operations and a READ opera-
tion (see Table 8). During the READ operation, ad-
dress bits A6, A1, and A0 must be 0,1,0,
respectively, while Sector Select (FS0-FS7 or
CSBOOT0-CSBOOT3) designates the Flash
memory sector whose protection has to be veri-
fied. The READ operation produces 01h if the
Flash memory sector is protected, or 00h if the
sector is not protected.
The sector protection status for all NVM blocks
(primary Flash memory or second ary Flash mem -
ory) can also be read by the MCU accessing the
Flash Protection reg isters in PSD I/O sp ace. See
the section entitled “Flash Memory Sector Pro-
tect”, on page 25, f or register definitions.