![background image](http://html.mh-extra.com/html/texas-instruments/tms320c54x/tms320c54x_user-manual_1097113318.webp)
The ROMS Directive
10-18
files
identifies the names of the output files that correspond to this
range. Enclose the list of names in curly braces and order them
from
least significant to most significant output file.
The number of file names should equal the number of output
files that the range will generate. To calculate the number of
output files, refer to Section 10.4.4,
ROM Width, on page
10-11. The utility warns you if you list too many or too few file-
names.
Unless you are using the –image option, all of the parameters defining a range
are optional; the commas and equals signs are also optional. A range with no
origin or length defines the entire address space. In image mode, an origin and
length are required for all ranges.
Ranges on the same page must not overlap and must be listed in order of
ascending address.
10.5.1 When to Use the ROMS Directive
If you don’t use a ROMS directive, the utility defines a single default range that
includes the entire program address space (PAGE 0). This is equivalent to a
ROMS directive with a single range without origin or length.
Use the ROMS directive when you want to:
-
Program large amounts of data into fixed-size ROMs. When you spe-
cify memory ranges corresponding to the length of your ROMs, the utility
automatically breaks the output into blocks that fit into the ROMs.
-
Restrict output to certain segments. You can also use the ROMS direc-
tive to restrict the conversion to a certain segment or segments of the tar-
get address space. The utility does not convert the data that falls outside
of the ranges defined by the ROMS directive. Sections can span range
boundaries; the utility splits them at the boundary into multiple ranges. If
a section falls completely outside any of the ranges you define, the utility
does not convert that section and issues no messages or warnings. In this
way, you can exclude sections without listing them by name with the
SECTIONS directive. However, if a section falls partially in a range and
partially in unconfigured memory, the utility issues a warning and converts
only the part within the range.
-
Use image mode. When you use the –image option, you must use a
ROMS directive. Each range is filled completely so that each output file in
a range contains data for the whole range. Gaps before, between, or after
sections are filled with the fill value from the ROMS directive, with the value
specified with the –fill option, or with the default value of 0.
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: ......