This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: downloading elf file via JTAG
- To: karsten at thebox-communications dot de
- Subject: Re: downloading elf file via JTAG
- From: Grant Edwards <grante at visi dot com>
- Date: Tue, 13 Mar 2001 08:57:40 -0600
- Cc: insight at sourceware dot cygnus dot com
- References: <OF0FEC40CB.ED909429-ONC1256A0E.0023B4C2@kamell.com>
On Tue, Mar 13, 2001 at 07:41:05AM +0100, karsten@thebox-communications.de wrote:
> I have problem with downloading ELF files with Insight 5.0 via JEENI JTAG
> interface. I want to download a program that is linked for address
> 0x4000000 to another address than this, because at address 0x40000000 is in
> RAM and I want it in flash. A bootloader copies it on reset to 0x40000000.
> My problem is that Insight always loads the programm at that address for
> what it was compiled for.
> Can somebody tell me how I get the program downloaded via JTAG to another
> address than specified in the ELF file ?
Use objcopy.
The --change-addresses option, IIRC.
--
Grant Edwards
grante@visi.com