下载
![](https://oss-datasheet.aipcba.com/html/6A294569715CA5EE09B6BE3831AFE2C6/bg1.png)
© Freescale Semiconductor, Inc., 2006. All rights reserved.
Freescale Semiconductor
Application Note
AN3283
Rev. 0.1, 06/2006
Table of Contents
The MPC5500 family of devices has internal Flash used
for code and data.
1
The Nexus debug interface can be
used to program the Flash using the JTAG
communication protocol through the JTAG port. This
allows programming of the internal Flash by an external
tool.
This application note first addresses the JTAG and Nexus
communication protocol. The JTAG discussion includes
the JTAG signals, TAP controller state machine, and the
JTAG controller. The explanation of Nexus includes the
on-chip emulation (OnCE) module and the Nexus
read/write (R/W) access block.
After the communication protocols are described, this
document goes into details of the Freescale-provided
Flash drivers and the requirements of the external tool
for Flash programming. For the purpose of this
document, the external tool consists of a PC application
combined with interface hardware that connects the PC
to the JTAG port on an MPC5500 board or module.
1. The internal Flash on the MPC5500 devices can also be used for
EEPROM emulation. See the white paper titled “MPC5500 Using
Flash as EEPROM” for details.
1 JTAG....................................................................2
2 On-Chip Emulation (OnCE).................................5
3 Nexus Read/Write Access Block .......................21
4 System Initialization...........................................26
5 Creating the Flash Programming Tool...............28
6 Revision History ................................................33
MPC5500 Flash Programming
Through Nexus/JTAG
by: Kyle Norman
MCD Applications