
Mini57
Apr. 06, 2017
Page 149 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
Enable ISPEN
Set ISPGO = 1
End of ISP
Operation
?
(Read ISPDAT)
&
Check ISPFF = 1?
YES
End of Flash
Operation
NO
Write
ISPADDR/ ISPCMD/
ISPDAT ?
Add ISP instruction
Check ISPGO = 0
?
NO
YES
Start
Stop
Figure 6.4-9 ISP Flow Example
Table 6.4-5 lists ISP commands supported by the Mini57 series.
ISP Command
FMC_ISPCMD
FMC_ISPADDR
FMC_ISPDAT
FLASH Page Erase
0x22
Valid address of Flash memory origination.
It must be 512 bytes page alignment.
Don’t care
SPROM Page Erase
0x22
Valid address of Flash memory origination.
It must be 512 bytes page alignment.
0x0055AA03
FLASH Program
0x21
Valid address of Flash memory origination
Programming Data
FLASH Read
0x00
Valid address of Flash memory origination
Return Data
Read Unique ID
0x04
0x0000_0000
Unique ID Word 0
0x0000_0004
Unique ID Word 1
0x0000_0008
Unique ID Word 2
Read Company ID
0x0B
Don’t care
Company ID (0xDA)
Vector Page Re-Map
0x2E
Page in APROM or LDROM
It must be 512 bytes page alignment
Don’t care
CRC Calculation
0x2D
Start address of CRC calculation.
CRC calculating range
Read CRC
0xD
0x0000_0000
CRC value
Table 6.4-5 ISP Command Table