下载
![](https://oss-datasheet.aipcba.com/html/08743A83E5FBAF14FBB02B32EBB42AE7/bg1.png)
Freescale Semiconductor
Application Note
AN3118
Rev. 0, 8/2005
© Freescale Semiconductor, Inc., 2005. All rights reserved.
Production Flash
Programming for the
56F8000 Family
Techniques for Production Programming the
56F8000 Family of Devices, Flash Memory
Blocks
Leonard N. Elevich
1.
Introduction
This document presents techniques and detailed information on
production programming of the Program Flash memory blocks
in the 56F8000 components. This is distinct from the
developmental loading of the Flash blocks that is achieved
using developmental tools such as the Metrowerks
CodeWarrior for Freescale debugger.
There are four ways to program the Flash blocks in a factory
environment:
• Using the Serial Bootloader present in the Internal
Flash
• Using a commercially-available device programmer
• Using the JTAG/OnCE
TM
port
• Using GPIO pins with a custom bootloader
The first two methods do not require any developmental effort
to use. Using the GPIO pins to obtain the Flash programming
data would require the customer to develop his own loader
program.
2.
Background Information
As a starting point, all methods require an application to be
created using the CodeWarrior development tools. This
application must be specifically targeted to operate correctly
from the internal Flash. The Freescale CodeWarrior
Development tools includes information as well as code to aid
Contents
1. Introduction .........................................1
2. Background Information .....................1
2.1 Considerations for Choosing a
Production Programming Method...2
3. Programming Method Details .............3
3.1 Serial SCI Bootloader.....................3
3.2 Bulk Device Loader........................3
3.3 In-circuit JTAG/OnCE Port............4
3.4 GPIO Flash Programming Mode ....5
4. Conclusion ..........................................6
5. References ...........................................6