mg84fl54 Megawin Technology, mg84fl54 Datasheet - Page 99
mg84fl54
Manufacturer Part Number
mg84fl54
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MG84FL54.pdf
(113 pages)
- Current page: 99 of 113
- Download datasheet (916Kb)
20. ISP and IAP
20.1. Flash Memory Configuration
There are total 16K bytes of Flash Memory in MG84FL54B device and Fig 20-1 shows the Flash configuration.
The Flash can be partitioned into AP-memory, IAP-memory and ISP-memory. AP-memory is used to store
user’s application program; IAP-memory is used to store the non-volatile application data; and, ISP-memory is
used to store the loader program for In-System Programming.
Fig 20-1 Flash Memory Configuration
Note:
20.2. In-System-Programming (ISP)
The flash memory of MG84FL54B can be both programming by the universal Writer/Programmer or the way of
In-System Programming (ISP). ISP makes it possible to update the user’s application program (in AP-memory)
and non-volatile application data (in IAP-memory) without removing the CPU chip from the actual end product.
This useful capability makes a wide range of field-update applications possible.
Note:
20.2.1. ISP/IAP Register
The following special function registers are related to ISP/IAP:
ISPCR (Address=E7H, ISP Control Register)
MEGAWIN
(2) If ISP is enable:
Note:
(1) ISP Start Address:
In default, the samples that Megawin released had configured the flash memory for
Lock
Programming through USB DFU operation. For more detail information on USB DFU, please refer
MG84FL54B Development Kit.
(1) Before using the ISP feature, the user should configure an ISP-memory space and pre-program the
(2) ISP code in the ISP-memory can program the AP-memory and IAP-memory.
0x3200 if ISP=3.5KB
IAP Higher Boundary = ISP Start address – 1
IAP Lower Boundary = ISP Start address – IAP
IAP Higher Boundary = 0x3FFF
IAP Lower Boundary = 0x4000 - IAP
0x3000 if ISP=4KB
0x3400 if ISP=3KB
0x3600 if ISP=2.5KB
0x3800 if ISP=2KB
0x3A00 if ISP=1.5KB
0x3C00 if ISP=1KB
If ISP is disable:
ISP code into the ISP-memory by a universal Writer/Programmer or Megawin proprietary Writer.
enabled. The 2K ISP region is inserted Megawin proprietary ISP code to perform In-System-
IAP Lower Boundary
IAP Higher Boundary
ISP Start Address
MG84FL54B Data sheet
0x0000
0x3FFF
Application Code
ISP Code
Data
IAP
ISP-memory
IAP-memory
AP-memory
Total Flash
Memory, 16KB
2K ISP, 1K IAP and
99
Related parts for mg84fl54
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: