[ECOS] Insight + eCos +Jeeni

Grant Edwards grante@visi.com
Thu Aug 23 08:32:00 GMT 2001


On Thu, Aug 23, 2001 at 04:52:29PM +0200, Nicola Bergamin [BW] wrote:
> I am using Jeeni  with Cirrus Logic 
> EP7209(ARM720), plus Gnu GDB toolchain.
> 
> 
> I don't know how to force GDB to load the code 
> starting at phisical address 0 !!!
> Example:
> I try to use Insight to debug the hello.exe eCos 
> example.
> We have phisical RAM at zero(ncs0) (this 
> replaces program ROM, for debugging pourposes).
> 
> I cannot understand where phisically GDB tries 
> do load the code.

GDB loads the file wherever the object file says it's supposed
to.  That's determined by the linker.

> Ok, the debug informations say that the LMA 
> start address is 0xe000,0000, but it is obvious 
> that the real, phisical load address should be  
> the neat 0x0 (Reset vector).

If you want an LMA of 0, you need to fix your memory layout so
that the LMA is 0.  Either edit your HAL's .ldi file, or use
the configtool.

-- 
Grant Edwards
grante@visi.com



More information about the Ecos-discuss mailing list