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.

LP-MSPM0G3507: infinite while loop default handler

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0G3507, MSPM0G1505, SYSCONFIG

I am trying to upload code from launch pad to my custom board with mspm0g1505. Have connected the clk,dio,3,3v,grd,nrst pins. Took the : 'empty_LP_MSPM0G3507_nortos_ticlang example from resource explorer. Selected the device as mspm0g1505.Uploading the code successfully but it keep on entering the infinite while loop of default handler in startup_mspm0g350x_ticlang.c file . First I thought it might be because of some syntax error or wrong configuration but even after I commented the entire code it stills enters the infinite while loop. Should I use the example from DEVICE-->mspm0g1505 instead of launchpad examples? How should I prevent this from happening?