Article ID: 000077092 Content Type: Product Information & Documentation Last Reviewed: 11/27/2006

How can I change the start address of my Intel-format hex file to a different location?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

The start address of an Intel-format hex file can be changed using the nios2-elf-objcopy utility included in Nios II EDS.  To change the start address, you must use the "--change-addresses" attribute with the start address you require.  For example:

 nios2-elf-objcopy --change-addresses 0x300000 <inputfile>.hex <outputfile>.hex

In the resulting hex file <outputfile>.hex, the addresses of all the data will be offset from the new start address of 0x300000.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1