This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

tsk_lock causing a hard fault when called from an ISR

Hi,
I'm running RL-ARM and uVision4 4.14.4.0 on a Cortex-M3 (LM3S9B96)
I'm running several tasks and I want to temporarily disable them while a critical section of the code is running.
As far as I can tell (when I step through the code), tsk_lock( ) is causing a hard fault when called from an ISR.
I checked the documentation and did not see any restrictions.
Am I missing something?

khaled.

0