psd934f2v-20mi STMicroelectronics, psd934f2v-20mi Datasheet - Page 22

no-image

psd934f2v-20mi

Manufacturer Part Number
psd934f2v-20mi
Description
Flash In-system Programmable Isp Peripherals For 8-bit Mcus
Manufacturer
STMicroelectronics
Datasheet
The
PSD9XX
Functional
Blocks
(cont.)
18
PSD9XX Family
X
RA = Address of the memory location to be read.
RD = Data read from location RA during read operation.
PA = Address of the memory location to be programmed. Addresses are latched on the falling edge of the WR#
PD = Data to be programmed at location PA. Data is latched o the rising edge of WR# (CNTL0) pulse.
SA = Address of the sector to be erased or verified. The chip select (FS0-7 or CSBOOT0-3) of the sector to be
NOTES:
1. All bus cycles are write bus cycle except the ones with the “read” label.
2. All values are in hexadecimal.
3. FS0-7 and CSBOOT0-3 are active high and are defined in PSDsoft.
4. Only Address bits A11-A0 are used in Instruction decoding. A15-12 (or A16-A12) are don’t care.
5. No unlock or command cycles required when device is in read mode.
6. The Reset command is required to return to the read mode after reading the Flash ID, Sector Protect status
7. Additional sectors to be erased must be entered within 80µs.
8. The data is 00h for an unprotected sector and 01h for a protected sector. In the fourth cycle, the sector chip
9. The Unlock Bypass command is required prior to the Unlock Bypass Program command.
10. The Unlock Bypass Reset command is required to return to reading array data when the device is in the
11. The system may read and program functions in non-erasing sectors, read the Flash ID or read the Sector
12. The Erase Resume command is valid only during the Erase Suspend mode.
13. The MCU cannot invoke these instructions while executing code from the same Flash memory for which the
14. Available to PSD934F2 and PSD954F2 devices only.
Table 9. Instructions
Instruction
Read (Note 5)
Read Main Flash ID
(Notes 6,13)
Read Sector Protection
(Notes 6,8,13)
Program a Flash Byte
Erase One Flash Sector
Erase Flash Block
(Bulk Erase)
Suspend Sector Erase
(Note 11)
Resume Sector Erase
(Note 12)
Reset (Note 6)
Unlock Bypass
(Note 14)
Unlock Bypass Program
(Note 9,14)
Unlock Bypass Reset
(Note 10,14)
= Don’t Care.
or if DQ5 (error flag) goes high.
select is active and (A1 = 1, A0 = 0).
Unlock Bypass mode.
Protect status, when in the Erase Suspend mode. The erase Suspend command is valid only during a sector
erase operation.
instruction is intended. The MCU must fetch, for example, codes from the secondary block when reading the
Sector Protection Status of the main Flash.
(CNTL0) pulse.
erased must be active (high).
CSBOOT0-3 Cycle 1 Cycle 2 Cycle 3
FS0-7
or
1
1
1
1
1
1
1
1
1
1
1
1
F0 @ any
address
@555h
@555h
@555h
@555h
RA RD
@555h
@555h
“Read”
@xxxh
@xxxh
@xxxh
@xxxh
AAh
AAh
AAh
AAh
AAh
AAh
B0h
30h
A0h
90h
PD@PA
@AAAh
@AAAh
@AAAh
@AAAh
@AAAh
@AAAh
@xxxh
55h
55h
55h
55h
55h
55h
00h
@555h
@555h
@555h
@555h
@555h
@555h
A0h
90h
90h
80h
80h
20h
00h or 01h
Cycle 4
PD@PA
@555h
@555h
@x01h
@x02h
“Read”
“Read”
AAh
AAh
ID
Cycle5
@AAAh
@AAAh
55h
55h
Preliminary Information
Cycle 6
@555h
@SA
30h
10h
@next SA
Cycle 7
(Note 7)
30h

Related parts for psd934f2v-20mi