Hi I'm using RL-RTX with a LPC1768. I need to enable an interrupt from inside of a task using the following function NVIC_EnableIRQ (EINT3_IRQn), unfortunately when the function is performed give me an error of HARD FAULT. If I run the program without RTOS everything is ok. Can you give me some clarification on this.
Antonello
There was a thread just some weeks ago about this - it isn't about being in an RTX task but about the protection mode the processor is in, i.e. what registers the program code is allowed to modify.
You need to change your RTX config file for privileged mode via "#define OS_RUNPRIV 1".