ANN: lm32-rtems4.10 toolchain rpms

Jukka Pietarinen jukka.pietarinen at mrf.fi
Wed Feb 25 18:03:54 UTC 2009


Joel Sherrill wrote:
> YEAH!  hello world now runs!!
> 
> ticker fails with this:
> 
> rtems_configuration_get_microseconds_per_tick() 10000
> PERIOD 750000
> core: 4 byte write to unmapped address 0x80002008 at 0x8000eb0
> 
> So it needs a timer configured.

It seems you figured it out already. Great! The memory configuration 
comes from the file 
rtems/c/src/lib/libbsp/lm32/lm32_evr/include/system_conf.h which is 
produced by the Lattice Mico System Builder (MSB).

There are 32 kbytes of internal RAM at 0x04000000 (the Exception Base 
Address, EBA is set to the start of this block), there are 64 Mbytes of 
RAM (external DDR2) starting at 0x08000000 where most of the code is 
loaded. The reason there for these two blocks is a Lattice FAE told me 
to keep the EBA in internal memory and the applications definitely will 
not fit in internal memory.

In addition to this the hardware debugger requires its own memory at 
0x00000000, but I don't know if the simulator needs to be aware of this.

Thanks to all of you for your help getting lm32 support to RTEMS!

Btw. I have not heard from Lattice for a while if I could get an Mico 
development board to build a BSP for it but I will ask again.

Thanks,
Jukka



More information about the users mailing list