herunterladen
![](https://oss-datasheet.aipcba.com/html/A4E0A475C4E3054E491064AC83D2F135/bg1.png)
Running an Application from Internal Flash Memory on the
TMS320F28xxx DSP
David M. Alter DSP Applications - Semiconductor Group
ABSTRACT
Several special requirements exist for running an application from on-chip flash memory
on the TMS320F28xxx DSP. These requirements generally do not manifest themselves
during development in RAM since the Code Composer Studio™ debugger can mask
problems associated with initialized sections and how they are linked to memory. This
application report covers the requirements needed to properly configure application
software for execution from on-chip flash memory. Requirements for both DSP/BIOS™
and non-DSP/BIOS projects are presented. Some performance considerations and
techniques are also discussed. Example code projects are included that run from on-chip
flash on the eZdspF2812™, eZdspF2808, and eZdspF28335 development boards. Code
examples that run from internal RAM are also provided for completeness. These code
examples provide a starting point for code development, if desired.
Project collateral and source code discussed in this application report can be downloaded
from the following URL: http://www-s.ti.com/sc/techlit/spra958.zip
.
Note that the issues discussed in this application report apply directly to current members
of the TMS320F28xxx DSP family, specifically: F2810, F2811, F2812, F2801, F2801-60,
F2802, F2802-60, F2806, F2808, F2809, F28015, F28016, F28044, F28232, F28234,
F28235, F28332, F28334, and F28335 devices. Applicability to future devices in the
TMS320F28xxx family, although quite likely, is not guaranteed. In addition, the code and
techniques presented in this application report for DSP/BIOS projects were developed on
Code Composer Studio v3.3 using C-compiler v5.0.0 and DSP/BIOS v5.32. DSP/BIOS
versions prior to v5.x used a different configuration file format. It is suggested that the
reader upgrade to the latest version. Future versions of DSP/BIOS may have differences
that make some of the items discussed in this report unnecessary (although in all
likelihood backwards compatibility will be maintained, so that the techniques discussed
here should still work). The reader should keep this in mind if using a newer version.
Finally, this application report does not provide a tutorial on writing and building code for
the F28xxx DSP. It is assumed that the reader already has at least the main framework of
their application code running from RAM, probably using the Code Composer Studio
debugger to perform the code download. This report only identifies the special items that
must be considered when moving the application into on-chip flash memory.
Code Composer Studio and DSP/BIOS are trademarks of Texas Instruments.
eZdsp is a trademark of Spectrum Digital Incorporated.
Trademarks are the property of their respective owners.
Application Report
SPRA958G – February 2008
1