mpc82g516a Megawin Technology, mpc82g516a Datasheet - Page 95

no-image

mpc82g516a

Manufacturer Part Number
mpc82g516a
Description
8-bit Microcontroller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mpc82g516aE
Manufacturer:
MEGAWIN
Quantity:
1 200
Part Number:
mpc82g516aF
Manufacturer:
MEGAWIN
Quantity:
20 000
20 ISP, IAP and ICP
The embedded Flash memory of the MPC82G516A can be programmed using the following methods.
(1) The traditional parallel programming method: generally for a Universal Programmer (not described here).
(2) In-System Programming method (ISP): under control of the loader program.
(3) In-Application Programming method (IAP): under control of the user’s application program.
(4) In-Circuit Programming (ICP): under control of the proprietary ICP Programmer (see
Refer to Figure 20-1 for the MPC82G516A Flash Configuration. The Flash of MPC82G516A can be partitioned
into AP-memory, IAP-memory and ISP-memory. AP-memory is used to store the 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.
The traditional parallel programming and ICP can program anywhere in the MCU, including the whole Flash and
MCU’s Hardware Option. The ISP and IAP can only program some specific area of the Flash; the ISP can
program both AP-memory and IAP-memory while the IAP can only program the IAP-memory. Table 20-1 shows
the comparison between the various programming methods listed above.
Table 20-1. Comparison between the Various Programming Methods
Why 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 MCU chip from the actual end product. This useful capability makes a wide
range of field-update applications possible. (Note ISP needs the loader program pre-programmed in the ISP-
memory.)
Why IAP?
The IAP-memory provides a non-volatile storage for the applications which need to keep its application data not
lost after the system is powered off. So, there is no need of an extra serial EEPROM such as the 93C46 or
24C01 devices.
Why ICP?
ICP makes it possible to update anywhere in the MCU (including the whole Flash and MCU’s Hardware Option)
without removing the MCU chip from the actual end product. Like the ISP, it also makes a wide range of field-
update applications possible.
95
Hardware or Software?
Erase/Program/Verify
Programming
Programming
Programming
Programming
Controlled by
Preparation
Interface
for the
Items
Area
Tool
Universal Programmer
Hardware Option
Programming
Whole Flash &
or “Megawin
8051 Writer”
Hardware-
Controlled
Interface
Parallel
Parallel
MCU’s
None
Yes
MPC82G516A Data Sheet
& HWBS enabled
Pre-programmed
Loader Program
Serial Interface
AP-memory &
Programmer”
IAP-memory
DTA (P3.1)
Controlled
“Megawin
Software-
Using
Yes
ISP
ISP
IAP-memory
Controlled
Software-
None
None
None
Yes
IAP
Section
Hardware Option
Serial Interface
Whole Flash &
Programmer”
SDA & SCL
20.4.1).
Hardware-
Controlled
Dedicated
“Megawin
MCU’s
Using
None
ICP
Yes
ICP
MEGAWIN

Related parts for mpc82g516a