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
Description
–i
Create Intel format.
–memwidth 8
Set EPROM system memory width to 8.
–romwidth 8
Set physical ROM width to 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
Description
–boot
Create a boot load table.
–bootorg 0x0000
Place boot table at address 0x0000.
Summary of Contents for TMS320C54x
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 62: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......
Page 285: ......
Page 286: ......
Page 287: ......
Page 288: ......
Page 289: ......
Page 290: ......
Page 291: ......
Page 292: ......
Page 293: ......
Page 294: ......
Page 295: ......
Page 296: ......
Page 297: ......
Page 298: ......
Page 299: ......
Page 300: ......
Page 301: ......
Page 302: ......