This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to download a binary image into RAM using GDB/eCos
- From: Grant Edwards <grante at visi dot com>
- To: Shaojie Wu <swu at zmicro dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 7 Dec 2001 12:15:24 -0600
- Subject: Re: [ECOS] How to download a binary image into RAM using GDB/eCos
- References: <IFECJOABAFEMLNLJBHLOEEEMCAAA.swu@zmicro.com>
On Fri, Dec 07, 2001 at 09:30:02AM -0800, Shaojie Wu wrote:
> Hi there,
>
> I have a question; I want to use the GDB to download a binary
> image(X.bin) into a specific range of the RAM by using JTAG
> interface, I checked the command list of GDB and could not find
> a command for doing that.(seems "load" can not load a binary
> image into RAM). So is there anybody could tell me how to do
> that? Any reply will be highly appreciated! Thanks.
Use objcopy to convert it into an elf file with the section at
the desired location.
--
Grant Edwards
grante@visi.com