mpc82g516a Megawin Technology, mpc82g516a Datasheet - Page 103
mpc82g516a
Manufacturer Part Number
mpc82g516a
Description
8-bit Microcontroller
Manufacturer
Megawin Technology
Datasheet
1.MPC82G516A.pdf
(144 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mpc82g516aE
Manufacturer:
MEGAWIN
Quantity:
1 200
Part Number:
mpc82g516aF
Manufacturer:
MEGAWIN
Quantity:
20 000
- Current page: 103 of 144
- Download datasheet (2Mb)
Method 2: MCU Re-boots from ISP-memory through AP-memory
The alternative method to make the MCU boot from the ISP-memory is to trigger a software reset while the MCU
is running in the AP-memory. In this case, neither HWBS nor HWBS2 is enabled. The only way for the MCU to
boot from the ISP-memory is to trigger a software reset when running in the AP-memory. See the following flow
chart.
Figure 20-6. Re-boot from ISP-memory through AP-memory
103
See Figure 20-2
for the flow chart
See Figure 20-3
for the flow chart
See Figure 20-4
for the flow chart
ISPCR=ISPCR|0x40;
ISPCR=ISPCR|0x20;
//SWBS=1, select software-boot from ISP-memory
//SWRST=1, trigger software reset
MCU will re-boot from ISP-memory,
and run the "ISP code"
Check if ISP is requested?
Check if ISP is requested?
Do Flash Read to verify
the programmed data
Do Flash Page Erase
When MCU is running
in the AP-memory
Do Flash Program
End
.
. . .
.
YES
YES
MPC82G516A Data Sheet
NO
NO
ISPCR=ISPCR&0xBF;
ISPCR=ISPCR|0x20;
//SWBS=0,
//select software-boot from AP-memory
//SWRST=1,
//trigger software reset to reboot from AP-memory
MCU will re-boot from AP-memory,
and run the normal "Application code"
MEGAWIN
Related parts for mpc82g516a
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:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: