C–14 Linker Command File For A 'C54Xlp - Texas Instruments TMS320C54x User Manual

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

Example C–14. Linker Command File for a 'C54xLP
Example C–15. Section Allocation Portion of Map File Resulting From the Command File
in Example C–14
OUTPUT FILE NAME:
ENTRY POINT SYMBOL: "_c_int00"
MEMORY CONFIGURATION
name
––––––––
PAGE 0: PROG
PAGE 1: DATA
–c
c54xlp.obj
–l rts.lib
–m c54xlp.map
–o c54xlp.out
MEMORY
{
PAGE 0 : PROG
PAGE 1 : DATA
}
SECTIONS
{
.text
: {} > PROG
.cinit
: {} > PROG
.data
: {} > DATA
.bss
: {} > DATA
.const
: {} > DATA
.sysmem
: {} > DATA
.stack
: {} > DATA
}
Example C–15 shows the map file generated when the linker is executed with
the command file in Example C–14. Linking with this command file creates a
COFF file you use as input to the hex conversion utility to build the desired boot
table.
<c54xlp.out>
address: 00001404
origin
length
––––––––
––––––––– ––––––––
00001400
000001000 0000007a
00000080
000001000 00000426
Example 4: Generating a Boot Table for LP Core Devices
: origin = 001400h, length = 01000h
: origin = 0080h,
PAGE 0
PAGE 0
PAGE 1
PAGE 1
PAGE 1
PAGE 1
PAGE 1
used
attributes
–––––––––– ––––––––
RWIX
RWIX
Hex Conversion Utility Examples
length = 01000h
fill
C-19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents