cancel
Showing results for 
Search instead for 
Did you mean: 

issue with semihosting after updating CubeIDE

DPiór.1
Associate III

I updated CubeIDE to 2.0.0 (now CubeMX is separated) on MacOS. I started new project and want to set semihosting for debug. I did the configuration as I used to do in previous projects, but now when I try to run, I receive following error:

Info : [STM32WB5MMGHx.cpu] Cortex-M4 r0p1 processor detected
Info : [STM32WB5MMGHx.cpu] target has 6 breakpoints, 4 watchpoints
Info : [STM32WB5MMGHx.cpu] Examination succeed
Info : starting gdb server for STM32WB5MMGHx.cpu on 3333
Info : Listening on port 3333 for gdb connections
semihosting is enabled
semihosting fileio is enabled
Error: The 'gdb_report_data_abort' command must be used before 'init'.

Below my configuration of OpenOCD:
Screenshot 2026-01-14 at 07.40.28.png

 

Where should I put the gdb_report_data_abort command? 

 

 

0 REPLIES 0