10.8.2 Specifying a Fill Value
10.8.3 Steps to Follow in Image Mode
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.
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.
Image Mode and the –fill Option
Hex Conversion Utility Description
10-27
Need help?
Do you have a question about the TMS320C54x and is the answer not in the manual?