Raising privilege causes a hard fault

tamirmichael wrote on Monday, September 24, 2012:

Hello,

First I would like to applogize for posting a question that is not completely associated with FreeRTOS.
I am working with a LPC1788 + FreeRTOS MPU, and attempting to make lwIP fit it as well. However, I notice that raising privilege   (when exiting a critical section - vPortExitCritical) causes a hard fault. The CPU is in thread mode/unprivileged/PSP (it is not that a SVC is launched in an SVC), BASEPRI = 0x28, PRIMASK = 0, priority of SVC is 31.
Any ideas?

Thanks in advance.

tamirmichael wrote on Monday, September 24, 2012:

Please ignore/delete this thread. It was posted by mistake.

rtel wrote on Monday, September 24, 2012:

See https://sourceforge.net/projects/freertos/forums/forum/382005/topic/5861032/index/page/1