20.4 About ICP
The ICP, like the traditional parallel programming method, can be used to program anywhere in the MCU,
including the Flash and MCU’s Hardware Option. And, owing to its dedicated serial programming interface (via
the On-Chip Debug path), the ICP can update the MCU without removing the MCU chip from the actual end
product, just like the ISP does.
20.4.1 The “Megawin 8051 ICP Programmer”
Only the proprietary “Megawin 8051 ICP Programmer” can support the In-Circuit Programming of MPC82G516A.
This section gives a rough description for it.
Features
No need to have a loader program pre-programmed in the target MCU.
Dedicated serial interface; no port pin is occupied.
The target MCU needn’t be in running state; it just needs to be powered.
Capable of stand-alone working without host’s intervention.
The above valuable features make the ICP Programmer very friendly to the user. Particularly, it is capable of
stand-alone working after the programming data is downloaded. This is especially useful in the field without a PC.
The picture and system diagram of the “Megawin 8051 ICP Programmer” are shown below. Only four pins are
used for the ICP interface: the SDA line and SCL line function as serial data and serial clock, respectively, to
transmit the programming data from the ICP Programmer to the target MCU; the VCC & GND are the power
supply entry of the ICP Programmer. The USB connector can be directly plugged into the PC’s USB port to
download the programming data from PC to the ICP Programmer.
Figure 20-11. Picture of the “8051 ICP Programmer”
Figure 20-12. System Diagram for the ICP Function
Target System
ICP
Interface
PC
MPC82G516A
"Megawin 8051 ICP Programmer"
SCL
VDD
SDA
GND
OCD_SCL
VDD
OCD_SDA
VSS
SCL
MEGAWIN
(less than 30cm)
USB
VCC
MAKE YOU WIN
SDA
GND
ICP Programmer
MEGAWIN
MPC82G516A Data Sheet
110