Other Parts Discussed in Thread: MSPM0-SDK
Tool/software:






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.
Tool/software:
Hello,
- Microcontroller: MSPM0-G3507- Operating System: Ubuntu-22.04- CCS-Theia Version: 1.4.1.00001_linux-x64- Emulator: XDS110- MSPM0-SDK: 2_01_00_03- Compiler: TI Clang v3.2.2.LTS
I used the same exact environment and the same SDK example. My only difference was that I used CCS Theia 1.4.0 instead of 1.4.1.
Everything worked fine for me
After clicking debug for the first time,
Where exactly did you click debug? There are several places to do it.
ut debugging does not seem to run properly.
In your screenshot, I see the call stack at 0x1B4. Then entry point of main should be 0xC0 and if the program loaded correctly and auto-ran to main, you should be at this location
Ending the debug session results in the error: `Request 2 cancelled on connection close`
You press the red square button for this, correct?
It looks like in your environment the program wasn't loaded correctly. After the debug session starts, can you explicitly go to "Run -> Load -> Load Program" and explicitly load your program?
Thanks
ki
Hello,
Can you try to open the launch.json by clicking on the gear icon in the debug view toolbar and delete the launch configurations inside the JSON array?
Patrick
Hello,
Thanks for your reply!
Where exactly did you click debug? There are several places to do it.
"Run -> Debug Project"
You press the red square button for this, correct?
correct
can you explicitly go to "Run -> Load -> Load Program" and explicitly load your program?
I tried,here is the screenshot:
I chose a file with the .out
suffix (not sure if this is the correct way to load it).
And I don't know why the call stack changed to 0x1BA
My only difference was that I used CCS Theia 1.4.0 instead of 1.4.1.
I also tried version 1.4.0, but the problem still exists.
Thank you for your help!
I reinstalled my Ubuntu system, and on this clean system, I followed the steps at https://software-dl.ti.com/ccs/esd/documents/ccs_theia_linux_host_support.html one by one for the installation. I can now debug normally. The previous system might have had some strange problems.
Thank you all for the help!