下载
Order this document
by AN2166/D
Semiconductor Products Sector
Application Note
© Motorola, Inc., 2001
AN2166
Programming and Erasing FLASH and EEPROM Memories
on the MC68HC912DT128A/DG128A/D60A
By Darci Ernst, Adeela Gill, and Kazue Kikuchi
Transportation and Standard Products Group
Austin, Texas
Introduction
Freescale has released two new microcontrollers (MCU), the
MC68HC912DT128A (DT128A) and the MC68HC912DG128A
(DG128A), as new products in the M68HC12 Family of devices.
NOTE: The MC68HC912D60A is not referenced specifically in this application
note, but the memory technology and algorithms apply to this part as
well.
The DT128A and DG128A offer many features, including:
• 16-bit central processor unit (CPU)
• 128 Kbytes of FLASH memory
• FLASH boot code protection
• 2 Kbytes of EEPROM
• 8 Kbytes of on-chip RAM
This application note explains how to use the FLASH and EEPROM on
the MC68HC912DT128A/DG128A and provides example software for
program and erase operations. These algorithms are written in
M68HC12 assembly code.
Freescale Semiconductor, I
For More Information On This Product,
Go to: www.freescale.com
nc
.
..
Freescale Semiconductor
© Freescale Semiconductor, Inc., 2004. All rights reserved.