mg87fe Megawin Technology, mg87fe Datasheet - Page 34
![no-image](/images/no-image-200.jpg)
mg87fe
Manufacturer Part Number
mg87fe
Description
8 Bits Microcontroller
Manufacturer
Megawin Technology
Datasheet
1.MG87FE.pdf
(44 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mg87fe2051AS20
Manufacturer:
MEGAWIN
Quantity:
20 000
Company:
Part Number:
mg87fe52AE
Manufacturer:
XILINX
Quantity:
1 200
Part Number:
mg87fe52AF
Manufacturer:
MEGAWIN
Quantity:
20 000
Part Number:
mg87fe52AF44
Manufacturer:
MEGAWIN原装
Quantity:
20 000
IFMT (ISP Flash Mode Table)
B7~B3 : Reserved
Mode Selection :
IAPLB (IAP Flash Mode Table)
B7~B0 : The IAPLB determines the IAP-memory lower boundary. Since a Flash page has 512
bytes, the IAPLB must be an even number.
To read IAPLB, MCU need to define the IMFT for mode selection on IAPLB Read and set
ISPCR.ISPEN. And then write 0x46h & 0xB9h sequentially into SCMD. The IAPLB content is
available in IFD. If write IAPLB, MCU will put new IAPLB setting value in IFD firstly. And then
select IMFT, enable ISPCR.ISPEN and then set SCMD. The IAPLB content has already finished
the updated sequence.
The range of the IAP-memory is determined by IAPLB and the ISP start-address was listed
below.
For example, if IAPLB=0x12 and ISP start address is 0x1C00, then the IAP-memory range was
located at 0x1200 ~ 0x1BFF.
Additional attention point, the IAP low boundary address must not be higher than ISP start
address.
IAPLB
Name
Name
IFMT
B2
0
0
0
0
1
1
IAP lower boundary = IAPLB x 256, and
IAP higher boundary = ISP start address – 1.
Bit7
Bit7
B1
0
0
1
1
0
0
Megawin Technology Co., Ltd.
Bit6
Bit6
B0
0
1
0
1
0
1
Reserved
Bit5
Bit5
Standby
AP-memory read
AP-memory program
AP-memory page erase
IAPLB write
IAPLB read
Preliminary
Bit4
Bit4
Data
ver 1.3
Bit3
Bit3
Mode
Bit2
Bit2
Date: 2009-JAN-20
Mode Selection
MG87FE/L52
Bit1
Bit1
Bit0
Bit0
34