herunterladen

by AN-HK-32/H
Rev. 2.0
Order this document
AN-HK-32
In-Circuit Programming of FLASH Memory
in the MC68HC908GP32
By T.C. Lun
Applications Engineering
Microcontroller Division
Hong Kong
This application note describes In-Circuit Programming (ICP) of the
FLASH memory in the Freescale MC68HC908GP32 (GP32)
microcontroller, a general purpose device based on the HC08
architecture that has 32k-bytes of on-chip FLASH.
The text is divided into two parts:
• PART 1 — covers a general overview of ICP and techniques that
can be applied to the GP32
• PART 2 — covers a simple low-cost ICP implementation on the
GP32
For detailed specification on MC68HC908GP32, please refer to the
datasheet: Freescale order number MC68HC908GP32/H.
PART 1
Introduction
In-circuit programming is a process by which the device is programmed
or erased with the device on the final circuit board — the
target system
.
This allows the
user code
to be changed without having to remove the
device off the target system for reprogramming or initial programming.
On GP32, the 32k-bytes FLASH memory is allocated for the user code,
with an additional 36-bytes of FLASH for user defined reset and interrupt
vectors. A high voltage supply is not required by the GP32 for program
or erase operations; as it is generated by an internal charge-pump. This
Freescale Semiconductor, I
Go to: www.freescale.com
nc...
Freescale Semiconductor
Verzeichnis