ISD94100 Series Technical Reference Manual
Sep 9, 2019
Page
199
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
In this mode the device can read, erase or write part of the APROM (or data flash). This mode does
not support remapping function.
6.4.4.3 In-Application-Programming (IAP)
The ISD94100 series provides In-Application-Programming (IAP) function for user to switch the
system memory vector code executing between APROM and LDROM. User can enable the IAP
function by booting chip and setting the chip boot selection bits in CBS (CONFIG0[7:6]) as 10 or
00.
When chip boots with IAP function enabled, any executable code (align to 512 bytes) is allowed to
map to the system memory vector any time. User can change the remap address to
FMC_ISPADDR and then trigger ISP procedure with the “Vector Remap” command.
6.4.4.4 In System Programming (ISP)
ISD94100 series supports In System Programming (ISP) which allows the device flash memory to
be programmed by using a utility such as a NULINK JTAG device. ISP is performed without
removing the microcontroller from the system, by writing data and ISP commands to the device
through the on-chip connectivity interface, such as UART, I
2
C or SPI.
See Table 6.4.4-3 ISP Command List for all ISP commands.
The ISD94100 series supports the following operations on the embedded flash memory:
Page erase
Flash data read and write (programming)
Read company ID, Device ID, and the Unique ID
CRC32 checksum calculation
Flash all one verification
Support system vector table remapping
ISP Commands
ISP Command
FMC_ISP
CMD
FMC_ISPADDR
FMC_ISPDAT
FMC_MPDAT0~FMC_MPDAT3
Page Erase
0x22
Valid address of flash memory organization. It must be
page (4 Kbytes) alignment. Note that
FMC_ISPADDR[11:0] will be ignored.
N/A
Bank Erase
0x23
Valid address of APROM of the target bank. Note that
FMC_ISPADDR[15:0] will be ignored.
N/A
Block Erase
0x25
Valid address of APROM. It must be 4 pages (16
Kbytes) alignment. Note that FMC_ISPADDR[13:0] will
be ignored.
N/A
32-bit Program
0x21
Valid address of flash memory organization
FMC_ISPDAT :Programming Data
FMC_MPDAT0~FMC_MPDAT3 :
N/A
64-bit Program
0x61
Valid address of flash memory organization
FMC_ISPDAT :N/A
FMC_MPDAT0: LSB
Programming Data
FMC_MPDAT1: MSB