ERC32 BSP (a bit further this time)
Neil Mayes
N.Mayes at sstl.co.uk
Tue May 6 16:49:53 UTC 2008
Hi Joel,
> Sounds very much like RTEMS has encountered a fatal error in your
> > configuration. Break at _Internal_Error_occurred.
> It's a little worse than that. The 1st failure occurs in
> _CPU_Context_save_fp. The FP NULL context address is passed
> using local variable Context_Control_fp *pointer; which
> appears to be placed on the stack, I get address 0x021F2094
> and this should contain &_CPU_Null_fp_context. In the
> _CPU_Context_save_fp() the address has been changed to
> 0x01000000 which causes a trap. I am starting to think there
> must be some setup missing from the BSP, it's like the
> workspace memory is not correctly configured. I have not
> deviated from the BSP but I'm starting to think there must be
> things missing! If I change the code and pass the global
> address, this works fine but then falls over with another
> memory trap when _User_extensions_Handler_initialization()
> tries to allocate from the workspace memory. Could it be the
> tools I have built? I really am stuck and confused with this :(
Arrrrghhh!! The HW chaps assured me it was setup for the HW config but I
had 2CS when I should have only had 1CS!!!! Should be a green light now.
Thanks,
Neil
More information about the users
mailing list