Texas Instruments TMS320C54x User Manual page 406

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

Advertisement

Example 3: Generating a Boot Table
C-14
Notice that the linker placed a hole at the end of the section boot_sec with a
fill value of 0, as specified in the command file. Also, the global symbol cinit
coincides with the start of the first .cinit section included in the link. When the
linker is executed with the command file in Example C–8 on page C-12, the
linker issues warnings that the output file contains no .text section and that the
global symbol cinit is being redefined. These warnings may be ignored in this
instance.
Executing the linker with the command file in Example C–8 on page C-12
yields a COFF file that can be used as input to the hex conversion utility to build
the desired boot table.
The hex conversion utility has options that describe the requirements for the
EPROM programmer and options that describe the EPROM memory system.
For Example 3, assume that the EPROM programmer has only one require-
ment: that the hex file be in Intel format.
In the EPROM memory system illustrated in Figure C–3 on page C-10, the
EPROM system memory width is 8 bits, and the physical ROM width is 8 bits.
You must set the following options in the hex command file to reflect the
requirements of the system:
Option
–i
–memwidth 8
–romwidth 8
Because the application requires the building of a boot table for parallel boot
mode, you must set the following options in the hex command file to reflect the
requirements of the system:
Option
–boot
–bootorg 0x0000
Description
Create Intel format.
Set EPROM system memory width to 8.
Set physical ROM width to 8.
Description
Create a boot load table.
Place boot table at address 0x0000.

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?

Table of Contents