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.

RTOS/AM3357: Sempahore issue during migration from PDK 1.0.8 and 1.0.10

Part Number: AM3357

Tool/software: TI-RTOS

Hello!

We have an application implemented on PDK 1.0.8 that we need to integrate into another application implemented on PDK 1.0.10. All is working ok except the TI-RTOS semaphores.

What we are experiencing is that the semaphore_pend function is not blocking the thread (the count is 0 before entering, we have checked it using different tools) and if we execute any sempahore_post at any place the BIOS crashes. 

The semaphores are created statically inside the .cfg file and are referenced into the code using the extern directive. It looks like we have something wrong in the configuration.

I know there is not a lot of information but what could produce that the pend function never blocks the thread when the counter is 0?

Thank you,