load ELF image to ARM board

Clive Davies cdavies@altera.com
Thu Mar 15 23:56:00 GMT 2001


> 
> 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



More information about the crossgcc mailing list