> 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
Message
Re: [lpc2000] FREERTOS problem on gcc and LPC2138
2005-10-21 by FreeRTOS Info