LPC214x's BSP for RTEMS

dave madden dhm at mersenne.com
Mon Jun 11 05:34:18 UTC 2007


>>>>> "RXU" == ray  <xr at trasin.net> writes:

    RXU> Hi Joel and I had made some changes in RTEMS CVS.  The
    RXU> current rtl22xx BSP need 7K bss/data for hello. If you change
    RXU> the definition for stack size(RTEMS_MINIMUM_STACK_SIZE)from
    RXU> 4K to 1K. You can also save some memory.  Hope you can put
    RXU> RTEMS into you lpc214x board.

Hi Ray.

I had some free time, so I copied the rtl22xx BSP and started hacking
on it.  I got it to boot and prink() some messages, but it dies in
rtems_termios_initialize with error 5.  I'm not very familiar with GDB
remote debugging, so it's hard for me to move around efficiently, but
I think it was trying to allocate a semaphore when it failed.

Is there a way to get GDB's "next" and "step" commands to use hardware
breakpoints by default?  That would make my life *much* easier!
(Can't use normal breakpoints because the code is in flash.  Also,
there are only 2 hardware breakpoints...talk about tedious!)

If you're interested, I can send what I've done.  Mostly, I adjusted
the linker script and startup code to reflect the 2148 memory map.

Regards,
dave madden



More information about the users mailing list