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-MSPM0L1306: stuck in default_handler, when compiling with GNU V9.21 -O0 (CCS 20.0.1)

Part Number: LP-MSPM0L1306
Other Parts Discussed in Thread: MSPM0L1306

Tool/software:

I created the "gpio_toggle_output_LP_MSPM0L1306_nortos_gcc" example using the CCS 20.0.1.4_6.1 Project wizard.

When i choose the GNU v9.2.1 compiler, and turn optimization to O0, i get stuck at the "Default_Handler" as soon as i try to debug the code.

Debugging only works with other optimization levels.

When i create the same example, using the Ti Clang 4.0 Compiler, all optimization levels work on the debug session.

Best Regards,

Stephan

  • Hi Stephan,

    We have received your question and our team is trying to reproduce the problem. And if the problem is reproduced by our side, we will report it to the software team and I will update the result here in time.

    By the way, to save your time, have you ever tried updating the IDE or SDK to solve the problem? Because sometimes it may be due to the version that something have not been updated.

    Best Regards,

    Peter

  • I already use the most recent IDE and SDK versions.

    Changing from GNU to Clang solved my problem.