This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to download a binary image into RAM using GDB/eCos


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]