DSM2180F3
Flash memory sector may be suspended, in order – The Flash memory cannot be programmed, and
to read data from another Flash memory sector,
only responds to Resume Sector Erase and Re-
and then resumed.
set Flash instruction sequences (Read is an op-
The address provided with the initial Flash Sector
eration and is allowed).
Erase command sequence (Table 5) must select – If a Reset Flash instruction sequence is re-
the first desired sector (FS0 - FS7) to erase. Sub-
ceived, data in the Flash memory sector that
sequent sector erase commands that are append-
was being erased is invalid.
ed on within the time-out period must be
addressed to other desired segments (FS0 - FS7).
Resume Sector Erase. If a Suspend Sector
Erase instruction sequence was previously exe-
Suspend Sector Erase. When a Sector Erase cuted, the erase cycle may be resumed with this
cycle is in progress, the Suspend Sector Erase in- instruction sequence. The Resume Sector Erase
struction sequence can be used to suspend the instruction sequence consists of writing 030h to
cycle by writing 0B0h to any address when an ap- any address while an appropriate Sector Select
propriate Sector Select (FS0-FS7) is selected (FS0-FS7) is active. (See Table 5.)
(See Table 5). This allows reading of data from an- Flash Memory Sector Protect.
other Flash memory sector after the Erase cycle
has been suspended. Suspend Sector Erase is
accepted only during an Erase cycle and defaults
to Read mode. A Suspend Sector Erase instruc-
tion sequence executed during an Erase time-out
) period, in addition to suspending the Erase cycle,
t(s terminates the time out period.
c The Toggle Flag (DQ6) bit stops toggling when the
u device internal logic is suspended. The status of
d this bit must be monitored at an address within the
ro Flash memory sector being erased. The Toggle
Flag (DQ6) bit stops toggling between 0.1 µs and
P 15 µs after the Suspend Sector Erase instruction
te sequence has been executed. The device is then
le automatically set to Read mode.
o If an Suspend Sector Erase instruction sequence
s was executed, the following rules apply:
b – Attempting to read from a Flash memory sector
O that was being erased outputs invalid data.
- – Reading from a Flash memory sector that was
t(s) not being erased is valid.
Each Flash memory sector can be separately pro-
tected against Program and Erase cycles. Sector
Protection provides additional data security be-
cause it disables all Program or Erase cycles. This
mode can be activated through the JTAG Port or a
Device Programmer. Sector protection can be se-
lected for each sector using PSDsoft Express.
This automatically protects selected sectors when
the device is programmed through the JTAG Port
or a Device Programmer. Flash memory sectors
can be unprotected to allow updating of their con-
tents using the JTAG Port or a Device Program-
mer. The DSP can read (but cannot change) the
sector protection bits.
Any attempt to program or erase a protected Flash
memory sector is ignored by the device. The Verify
operation results in a read of the protected data.
This allows a guarantee of the retention of the Pro-
tection status.
The sector protection status can be read by the
DSP through the Flash memory protection regis-
ters (in the csiop block) as defined in Table 7.
duc Table 7. Sector Protection/Security Bit Definition – Flash Protection Register
ro Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
P Sec7_Prot Sec6_Prot Sec5_Prot Sec4_Prot Sec3_Prot Sec2_Prot Sec1_Prot
te Note: 1. Bit Definitions:
le Sec<i>_Prot 1 = Flash memory sector <i> is write protected.
Sec<i>_Prot 0 = Flash memory sector <i> is not write protected.
Bit 0
Sec0_Prot
bso Table 8. Security Bit Definition
OBit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Security_Bit not used
not used
not used
not used
not used
not used
not used
Note: 1. Bit Definitions:
1 = Security Bit in device has been set.
24/63