This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

RE: load ELF image to ARM board


> 
> My target is an ARM7TDMI Developement board. I was thinking 
> to load some
> simple executable built by crossgcc on my PC to the ARM 
> board. I was using
> the debugger from ARM's Software Developement Toolkit, but it 
> didn't work.
> The ELF format was recognized by the ARM debugger, but then 
> there was a
> memory error.
> 

ads can't read the symbols in gcc produced elf files, adw crashes if you try and use it to download one. (or at least it did last time I tried it). 


> I was wondering, maybe some of you have done the similiar 
> things before? If
> so, could you tell me what was the way you used to download 
> executable to
> the board, under this kind of situation?

The best you can do with the gcc/adw combination is to build without symbols to generate a file that you can download. However, the lack of symbols makes it rather harder to debug your code once its on your target :-)

I think Lauterbach do a JTAG debugger which can load gcc elf files correctly. Or maybe its possible to get a gdb/jtag solution, but I don't know of one offhand.

HTH
Clive

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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