Part Number: MSPM0G3107
Hello TI Support Team,
I am using an MSPM0G3107 microcontroller, integrated with a graphic IC through the SPI protocol. I have created a user interface (UI) on the graphic IC, which generates the display control code. I then integrated this code into the TI MCU project.
The display works correctly — for example, when I set a variable for a specific image, the graphic IC activates and displays that image as expected.
However, I am facing a strange issue:
Everything works fine initially. But if I create or initialize a new variable in the code, and use it (for example, for debugging or printing on the terminal), the program runs fine the first time.
After that, when I press the reset button on the TI board, the device gets stuck, nothing appears on the display, and the MCU does not restart properly. Even powering off and on again doesn’t help.
The only way to recover the board is to re-flash (burn) the code again. Until I do that, the MCU remains unresponsive.
I am attaching a screenshot of the memory allocation from the CCS Theia.

Could you please help me understand why this happens and suggest how to fix it?
Thank you for your support.