Controlling The Rom Device Address - Texas Instruments TMS320C54x User Manual

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

Controlling the ROM Device Address

10.10 Controlling the ROM Device Address
10.10.1 Controlling the Starting Address
10-34
The hex conversion utility output address field corresponds to the ROM device
address. The EPROM programmer burns the data into the location specified
by the hex conversion utility output file address field. The hex conversion utility
offers some mechanisms to control the starting address in ROM of each sec-
tion and/or to control the address index used to increment the address field.
However, many EPROM programmers offer direct control of the location in
ROM in which the data is burned.
Depending on whether or not you are using the boot loader, the hex conversion
utility output file controlling mechanisms are different.
Nonboot-loader mode. The address field of the hex conversion utility output
file is controlled by the following mechanisms listed from low to high priority:
1) The linker command file . By default, the address field of the hex conver-
sion utility output file is a function of the load address (as given in the linker
command file) and the hex conversion utility parameter values. The rela-
tionship is summarized as follows:
out_file_addr
out_file_addr
load_addr
data_width
mem_width
† If paddr is not specified
The value of data width divided by memory width is a correction factor for
address generation. When data width is larger than memory width, the
correction factor expands the address space. For example, if the load

address is 0
1 and data width divided by memory width is 2, the output file
address field would be 0
tions the size of the memory width.
2) The paddr parameter of the SECTIONS directive. When the paddr
parameter is specified for a section, the hex conversion utility bypasses

= load_addr
(data_width
is the address of the output file.
is the linker-assigned load address.
is specified as 16 bits for the TMS320C54x devices.
See subsection 10.4.2, Data Width , on page 10-10.
is the memory width of the memory system. You can
specify the memory width by the –memwidth option
or by the memwidth parameter inside the ROMS
directive. See subsection 10.4.3, Memory Width , on
page 10-10.

2. The data is split into two consecutive loca-
mem_width)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents