IFMT:ISP/IAP Flash Mode Table
SFR Page
= 0~F
SFR Address = 0xE5
7
Bit
Name
R/W
R/W
X
Reset V alue
Bit 7~4: Reserved. Software must write "0000_0" on these bits when IFMT is written.
Bit 3~0: ISP/IAP/Page-P operating mode selection.
MS[7:0]
0 0 0 0-0 0 0 0
0 0 0 0-0 0 0 1
0 0 0 0-0 0 1 0
0 0 0 0-0 0 1 1
0 0 0 0-0 1 0 0
0 0 0 0-0 1 0 1
1 0 0 0-0 0 0 0
1 0 0 0-0 0 0 1
1 0 0 0-0 0 1 0
Others
IFMT is used to select the flash mode for performing numerous ISP/IAP function or to select page P SFR
access.
If software selects the mode on automatic flash read for CRC, the flash start-address is defined in
IFARDH and IFADRH. The flash end-address is defined at {IAPLB + 9'b1-1111-1111}.
SCMD:Sequential Command Data register
SFR Page
= 0~F
SFR Address = 0xE6
7
Bit
Name
R/W
R/W
X
Reset V alue
SCMD is the command port for triggering ISP/IAP/Page-P activity. If SCMD is filled with sequential 0x46h,
0xB9h and if ISPCR.7 = 1, ISP/IAP/Page-P activity will be triggered.
ISPCR:SP Control Register
SFR Page
= 0~F
SFR Address = 0xE7
7
Bit
ISPEN
Name
R/W
R/W
0
Reset V alue
Bit 7: ISPEN, ISP/IAP/Page-P operation enable.
0: Global disable all ISP/IAP/Page-P program/erase/read function. 1: Enable ISP/IAP/Page-P
program/erase/read function.
Bit 6: SWBS, software boot selection control. 0: Boot from main-memory after reset.
1: Boot from ISP memory after reset.
6
5
R/W
R/W
X
X
Standby
Flash byte read of AP/IAP-memory
Flash byte program of AP/IAP-memory
Flash page erase of AP/IAP-memory
Page P SFR Write
Page P SFR Read
Automatic flash read for CRC.
Flash byte read with address increased function
Flash byte program with address increased function.
Reserved
6
5
R/W
R/W
X
X
6
5
SWBS
SWRST
R/W
R/W
0
0
Rev0.1 | 309/347
4
3
MS[7:0]
R/W
R/W
X
X
Mode
4
3
SCMD[7:0]
R/W
R/W
X
X
4
3
CFAIL
--
R/W
W
0
X
CMT2380F17
2
1
R/W
R/W
0
0
2
1
R/W
R/W
X
X
2
1
--
--
W
W
X
X
www.cmostek.com
0
R/W
0
0
R/W
X
0
--
W
X
Need help?
Do you have a question about the CMT2380F17 and is the answer not in the manual?
Questions and answers