cancel
Showing results for 
Search instead for 
Did you mean: 

Autodevkit openOCD

cumuk
Associate

Hello,

I tried to use openOCD with my custom board based on SPC58EG80E5. I can successfully flash the ELF file of my project with SPC5LNKA debugger, but the debug features such as the watch window and breakpoints do not work.

How can I enable these features?

1 REPLY 1
Max VIZZINI
ST Employee

Hello,

 

Select the icon highlighted in the image below to open the perspective window and select Debug.

 

MaxVIZZINI_0-1711530677372.png

 

MaxVIZZINI_1-1711530677374.png

 

 

Select Debug Configurations.

After selecting your configuration, insert the path of the elf file in the project field. Click on Debug.

MaxVIZZINI_2-1711530677378.png

 

The console opens up and shows your application code execution. The code execution stops at the main file. To continue executing the code, press resume. You can manually insert a breakpoint to stop code execution.

MaxVIZZINI_3-1711530677393.png

You can see the video tutorial how to use openOCD inside AutoDevKit Studio Welcome Page>Tutorial or see the AEK-MCU-SPCLNK_QSG.pdf file attached.

Best Regards,

AutoDevKit Team