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.

MSPM0G3507: hardfault sprintf

Part Number: MSPM0G3507

I migrated my code from "nortos" "ticlang" to "freertos" and now it crashes at "sprintf", it falls in the HARDFAULT interrupt service.

The same code is working fine in the "nortos" version.

I tried to change the stack size to 1024 without success.

The screenshot of the debugger (bellow) shows some null pointers. 

What could be the difference in run time that could lead to this happening?

Any help is welcome. Thank you.