ISD94100 Series Technical Reference Manual
Sep 9, 2019
Page
202
of 928
Rev1.09
IS
D
9
410
0
S
ER
IE
S
T
E
C
HN
ICA
L
RE
F
E
RE
NCE
M
AN
U
AL
period; the peripheral still keeps working as usual. If any interrupt request occurs, CPU will not
service it until ISP operation is finished. When ISP operation is finished, the ISPGO bit will be cleared
by hardware automatically. Software can poll ISPGO bit to determine whether ISP operation is
finished.
ISP operation status is presented in FMC_ISPSTS register. Software can check the status and do
the corresponding error handling if necessary. Particularly, if ISPFF (FMC_ISPSTS[6])=1, it means
ISP is actually not started and error handling is desired.
6.4.4.5
Flash Read and write Operations
The ISD94100 series supports 32-bit and 64-bit read operations. Programming wise the ISD94100
series supports 32-bit, 64-bit and multi-word flash write operations.
Table 6.4.4-4 below gives a quick reference for the registers involved in each one of the above
operations. Before any read or write operation, the ISPEN bit in FMC_ISPCTRL register needs to
be enabled; and after operation finishes, ISPEN bit needs to be disabled for the purpose of data
security. For more detailed information about these registers, please refer to Register Description
section.
Register
Description
32-Bit
Read/Write
64-Bit
Read/Write
Multi-Word
Write
FMC_ISPCTL
ISP Control Register
FMC_ISPADDR
ISP Address Register
FMC_ISPDAT
ISP Data Register
N/A
N/A
FMC_ISPCMD
ISP Command Register
Read: 0x00
Read: 0x40
0x27
Write: 0x21
Write: 0x61
FMC_ISPTRG
ISP Trigger Register
FMC_ISPSTS
ISP Status Register
N/A
FMC_MPDAT0
ISP Data0 Register
N/A
FMC_MPDAT1
ISP Data1 Register
N/A
FMC_MPDAT2
ISP Data2 Register
N/A
N/A
FMC_MPDAT3
ISP Data3 Register
N/A
N/A
FMC_MPSTA
ISP Multi-Program status
N/A
N/A
FMC_MPADDR
ISP Multi-Program Address
N/A
N/A
Table 6.4.4-4 FMC control registers for Flash Read/Write
6.4.4.5.1 Read Operations
The ISD94100 series supports two kinds of flash reads: 32-bit read and 64-bit read. Please note for
the purpose of data integrity, the user needs to set ISPEN bit in FMC->ISPCTL register before flash
read/write operation, and clear ISPEN bit after the operation is completed.