This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

global variables access violation between SWI and Tasks

Folks,

I need to update a set of global variables within one of software interrupt routinue and two tasks, as the SWI has higher priority over tasks,

access violation occurs when the task is updating the global variables, and unfortunately it is preempted by SWI. I know LCK module in

DSP/BIOS is a good mechanism, but the document said LCK_pend/LCK_post should not be called from a SWI. Have anyone ran into

same situation and how do you get it through?

Thanks

Tim