Image Mode and the –fill Option
10-27
Hex Conversion Utility Description
10.8.2 Specifying a Fill Value
The –fill option specifies a value for filling the holes between sections. The fill
value must be specified as an integer constant following the –fill option. The
width of the constant is assumed to be that of a word on the target processor.
For example, for the ’C54x, specifying –fill 0FFh results in a fill pattern of
00FFh. The constant value is not sign extended.
The hex conversion utility uses a default fill value of zero if you don’t specify
a value with the fill option.
The –fill option is valid only when you use –image;
otherwise, it is ignored.
10.8.3 Steps to Follow in Image Mode
Step 1: Define the ranges of target memory with a ROMS directive. See
Section 10.5,
The ROMS Directive, on page 10-16 for details.
Step 2: Invoke the hex conversion utility with the –image option. To number
the bytes sequentially, use the –byte option; to reset the address
origin to zero for each output file, use the –zero option. See
subsection 10.10.3,
The –byte Option, on page 10-36 for details on
the –byte option, and page 10-35 for details on the –zero option. If
you don’t specify a fill value with the ROMS directive and you want
a value other than the default of zero, use the –fill option.
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: ......