
Obsolete
Product(s)
- Obsolete
Product(s)
PSD4135G2, PSD4135G2V
Memory blocks delailed operation
Doc ID 7838 Rev 2
The Toggle Bit DQ6 stops toggling when the PSD4135G2/G2V internal logic is suspended.
The toggle Bit status must be monitored at an address within the Flash sector being erased.
The Toggle Bit will stop toggling between 0.1 s and 15 s after the Erase Suspend
instruction has been executed. The PSD4135G2/G2V will then automatically be set to Read
Flash block Memory Array mode.
If an Erase Suspend instruction was executed, the following rules apply:
●
Attempting to read from a Flash sector that was being erased will output invalid data.
●
Reading from a Flash sector that was not being erased is valid.
●
The Flash memory cannot be programmed, and will only respond to Erase Resume
and Reset instructions (read is an operation and is OK).
●
If a Reset instruction is received, data in the Flash sector that was being erased will be
invalid.
Resume Sector Erase
If an Erase Suspend instruction was previously executed, the erase operation may be
resumed by this instruction. The Erase Resume instruction consists of writing 030h to any
even address while an appropriate Chip Select (FSi or CSBOOTi) is true (see
Table 22)7.1.9
Specific features
Primary and secondary Flash Sector Protect
Each sector of primary Flash and secondary Flash memory can be separately protected
against Program and Erase functions. Sector Protection provides additional data security
because it disables all program or erase operations. This mode can be activated (or
deactivated) through the JTAG-ISP Port or a Device Programmer.
Sector protection can be selected for each sector using the PSDsoft program. This will
automatically protect selected sectors when the device is programmed through the JTAG
Port or a Device Programmer. Flash sectors can be unprotected to allow updating of their
contents using the JTAG Port or a Device Programmer. The microcontroller can read (but
cannot change) the sector protection bits.
Any attempt to program or erase a protected Flash sector will be ignored by the device.
The Verify operation will result in a read of the protected data. This allows a guarantee of the
retention of the Protection status.
The sector protection status can either be read by the MCU through the Flash protection
and secondary Flash protection registers (CSIOP), or use the Read Sector Protection
7.1.10
Reset
The Reset instruction consists of one write cycle (see
Table 22). It can also be optionally
preceded by the standard two write decoding cycles (writing AAh to AAAh and 55h to 554h).
The Reset instruction must be executed after:
●
Reading the Flash Protection status or Flash ID using the Flash instruction.
●
When an error condition occurs (DQ5 (DQ13) goes high) during a Flash programming
or erase cycle.