Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] FREERTOS problem on gcc and LPC2138

2005-10-21 by FreeRTOS Info

> I found,  that asm instructions in freertos are not compiled as exactly
> as should be. As a result of execution of below code I get data_abort
> exception
> First I noticed LDMIA and LDMF difference.

<snip>

In this case the translation is correct, and equivalent.

Which version of GCC are you using?

If this part of the code is not working then the most common cause is the
processor being in the wrong mode.  The processor must be in Supervisor mode
when vTaskStartScheduler() is called.  The startup code included in the
FreeRTOS.org demo applications ensures this is the case - have you modified
this at all?

Regards,
Richard.


http://www.FreeRTOS.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.