Map Files; Linking Your 'C82 Code For Prototyping On A 'C - Texas Instruments TMS320C80 User Manual

1995 digital signal processing products
Table of Contents

Advertisement

For more information on PP-relative addressing, see subsection
8.8.1.5, PP-Relative Addressing , in the TMS320C80 (MVP) Par-
allel Processor User's Guide .

3.4.2 Map Files

Map files show where sections are linked in memory. Specifically,
they show the names and address ranges of sections and global
variables.
You can cause the linker to generate a map file of your code by
specifying the –m option on the command line or in the linker
command file.
By examining the map file generated by the linker, you can verify
that the sections of your program are mapped into the proper
locations in memory.
For more information about map files, see subsection 13.3.8,
Create a map file (–m filename option) , in the TMS320C80 (MVP)
Code Generation Tools User's Guide .

3.4.3 Linking Your 'C82 Code for Prototyping on a 'C80

Example 3–1 is a sample PP C program that will be used to illus-
trate how code written for the 'C82 can be made to run on the 'C80
through linking. The program calculates the dot product of two
vectors, A and B. The source code needs to compiled only once;
the object file then only needs to be linked with the proper linker
command file for each device.
Prototyping Code Using Linker Command Files
Prototyping 'C82 Code on the 'C80
3-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c82

Table of Contents