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.

MSPM0G3107-Q1: Error with code not entering after power on (cold start)

Part Number: MSPM0G3107-Q1
Other Parts Discussed in Thread: UNIFLASH, , MSPM0G3107

Tool/software:

Hello, I've been developing an application for the MSPM0G3107-Q1, concretely the 20 pins version, and while debugging the code seems to be working fine but if I flash it (via Uni Flash and a XDS110 probe) the MCU does not seem to enter the application after a Power ON Reset. When I read the memory via UniFlash after programming and after I turn off and back on power it seems to read the same contents, so I guess programming has worked properly. I can also reprogram it/debug it and it works fine even when disconnecting the debugger, but if I turn off the power and turn it on again then it does not work in any way.

It seems like it does not enter the main, so I'm guessing there must be some configuration I have missed. I have not edited the NONMAIN in any way so I'm guessing there may be some parameter somewhere on the build configuration which may help set behavior but I am a bit lost as it's the first time I've had to set this up, so help will be appreciated. Probably it's something easy to fix but I am more of a HW guy so I'm a bit lost on the finer details of MCU's.

Thanks in advance!