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.

Compiler/TMS570LS1224: FreeRTOS program gets stuck in inturrupt on prvRaisePrivilege() call

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Tool/software: TI C/C++ Compiler

I have a program flashed to my board running FreeRTOS. My program terminates on any FreeRTOS function that raises privilege (almost all of them). When I step through, I get no useful information - as soon as the program gets to prvRaisePrivilege(); the program disassembly shows nothing useful, other than the memory location is in one of the interrupts in the VIM. I've been playing around with the memory map, exploring the possibility that this is a result of some memory overlap causing corrupted code - to no avail.

My project is setup so that the HalcoGen code, plus the other code i'm looking to compile (libCsp - a small network stack) are compiled to a static library using the TI toolchain. Then the .lib artifact is linked to my application code that is making the FreeRTOS calls - also compiled with the TI toolchain.

Attached is a screenshot of my IDE as soon as I step past the call to prvRaisePrivilege()