Image Mode and the –fill Option
10-26
10.8 Image Mode and the –fill Option
This section points out the advantages of operating in image mode and
describes how to produce output files with a precise, continuous image of a
target memory range.
10.8.1 The –image Option
With the –image option, the utility generates a memory image by completely
filling all of the mapped ranges specified in the ROMS directive.
A COFF file consists of blocks of memory (sections) with assigned memory
locations. Typically, all sections are not adjacent: there are gaps between sec-
tions in the address space for which there is no data. When such a file is con-
verted
without the use of image mode, the hex conversion utility bridges these
gaps by using the address records in the output file to skip ahead to the start
of the next section. In other words, there may be discontinuities in the output
file addresses. Some EPROM programmers do not support address disconti-
nuities.
In image mode, there are no discontinuities
. Each output file contains a contin-
uous stream of data that corresponds exactly to an address range in target
memory. Any gaps before, between, or after sections are filled with a fill value
that you supply.
An output file converted by using image mode still has address records
because many of the hexadecimal formats require an address on each line.
However, in image mode, these addresses will always be contiguous.
Note:
Defining the Ranges of Target Memory
If you use image mode, you must also use a ROMS directive. In image mode,
each output file corresponds directly to a range of target memory. You must
define the ranges. If you don’t supply the ranges of target memory, the utility
tries to build a memory image of the entire target processor address space—
potentially a huge amount of output data. To prevent this situation, the utility
requires you to explicitly restrict the address space with the ROMS directive.
Содержание 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: ......