herunterladen

Running an Application from Internal Flash Memory on the
TMS320F28xxx DSP
David M. Alter Embedded Processors and Microcontrollers - Semiconductor Group
ABSTRACT
Several special requirements exist for running an application from on-chip flash memory
on the TMS320F28xxx. These requirements generally do not manifest themselves during
code development in RAM since the Code Composer Studio™ (CCS) debugger can mask
problems associated with initialized sections and their linkage in memory. This application
report covers the application software modifications needed 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 CCS v5 projects are provided for the F2812, F2808, F28335, F28027, F28035,
F28055, and F28069 (i.e., usually the superset device in each F28xxx sub-family). These
can be downloaded from http://www-s.ti.com/sc/techlit/spra958.zip, and can provide a
starting point for code development independent of this application report.
Note that the issues discussed in this application report apply to these current members of
the TMS320F28xxx device family, specifically:
F281x: F2810, F2811, F2812
F280x/2801x/28044: F2801, F2802, F2806, F2808, F2809, F28015, F28016, F28044
F2823x/2833x: F28232, F28234, F28235, F28332, F28334, F28335
F2802x: F28020, F28021, F28022, F28023, F28026, F28027, F280200
F2803x: F28030, F28031, F28032, F28033, F28034, F28035
F2805x: F28050, F28051, F28052, F28053, F28054, F28055
F2806x: F28062, F28063, F28064, F28065, F28066, F28067, F28068, F28069
Applicability to other F28xxx devices, although likely, is not guaranteed. Further, the code
and methods presented apply to the development tool versions utilized, specifically:
CCS v5.3.0, Code Generation Tools v6.1.1, DSP/BIOS v5.42.0.07
Be aware that future tool versions may have differences although in all likelihood
backwards compatibility will be maintained so that the techniques discussed here should
still work. Also note that the operation and setup for SYS/BIOS (BIOS v6) differs from that
of DSP/BIOS (BIOS v5). This application report only applies to DSP/BIOS.
Finally, this application report does not provide a tutorial on writing and building code for
the F28xxx. It is assumed that the reader already has at least the main framework of their
application running from RAM. 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.
Trademarks are the property of their respective owners.
Application Report
SPRA958L – January 2013
1