MG87FE/L2051/4051/6051
MAKE YOU WIN
Preliminary Ver 1.00
17. In System Programming (ISP)
IFD: ISP/IAP Flash Data Register
Address=E2H, read/write, RESET=1111-1111
7
6
5
4
3
2
1
0
Data
IFD is the data port register for ISP/IAP operation. The data in IFD will be written into the desired address in
operating ISP/IAP write and it is the data window of readout in operating ISP/IAP read.
If IMFT is indexed on IAPLB access, read/write IFD through SCMD flow will access the register content of IAPLB.
IFADRH: ISP/IAP Address for High-byte addressing
Address=E3H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
2
1
0
Address
IFADRH is the high-byte address port for all ISP/IAP modes.
IFADRL: ISP/IAP Address for Low-byte addressing
Address=E4H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
2
1
0
Address
IFADRL is the low byte address port for all ISP/IAP modes. In page erase operation, it is ignored.
IFMT: ISP/IAP Flash Mode Table
Address=E5H, read/write, Power On + RESET=XXXX-0000
7
6
5
4
3
2
1
0
Reserved
Mode Selection
Bit 7~4: Reserved
Bit 3~0: ISP/IAP operating mode selection
Bit[3:0]
Mode
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
Standby
AP-memory read
AP-memory program
AP-memory page erase
IAPLB write
IAPLB read
IFMT is used to select the flash mode for performing numerous ISP/IAP function.
IAPLB: IAP Low Boundary
Address=indirect, read/write, Power On + RESET=1111-1111
7
6
5
4
3
2
1
0
IAPLB
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
43/56