The ROMS Directive
10-16
10.5 The ROMS Directive
The ROMS directive specifies the physical memory configuration of your
system as a list of address-range parameters.
Each address range produces one set of files containing the hex conversion
utility output data that corresponds to that address range. Each file can be
used to program one single ROM device.
The ROMS directive is similar to the MEMORY directive of the TMS320C54x
linker: both define the memory map of the target address space. Each line
entry in the ROMS directive defines a specific address range. The general
syntax is:
ROMS
{
[PAGE
n:]
romname: [origin=value,] [length=value,] [romwidth=value,]
[memwidth=
value,] [fill=value,]
[files={
filename1, filename2, ...}]
romname: [origin=value,] [length=value,] [romwidth=value,]
[memwidth=
value,] [fill=value,]
[files={
filename1, filename2, ...}]
...
}
ROMS
begins the directive definition.
PAGE
identifies a memory space for targets that use program- and
data-address spaces. If your program has been linked nor-
mally, PAGE 0 specifies program memory and PAGE 1 speci-
fies data memory. Each memory range after the PAGE com-
mand belongs to that page until you specify another PAGE. If
you don’t include PAGE, all ranges belong to page 0.
romname
identifies a memory range. The name of the memory range
may be one to eight characters in length. The name has no sig-
nificance to the program; it simply identifies the range. (Dupli-
cate memory range names are allowed.)
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......