cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE Debug is not working for the STM32MP257F-EV1 developement board

Carson
Associate III

Hello,

 

I am working with the STM32MP257F-EV1 on version 1.16.0 of CubeIDE. Specifically I am following the guide laid out in this link: https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-M33/Modify,_rebuild_and_reload_the_firmware

I am trying to run the debug but when I do I get the following output:

Open On-Chip Debugger 0.12.0+dev-00597-ga5a21219f (2024-06-03-11:02) [https://github.com/STMicroelectronics/OpenOCD]

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : STLINK V3J15M7B5S1 (API v3) VID:PID 0483:3753

Info : Target voltage: 3.284210

Info : Unable to match requested speed 5000 kHz, using 3300 kHz

Info : Unable to match requested speed 5000 kHz, using 3300 kHz

Info : clock speed 3300 kHz

Info : stlink_dap_op_connect(connect)

Info : SWD DPIDR 0x6ba02477

Info : [STM32MP257FAIx.ap0] Examination succeed

Info : [STM32MP257FAIx.m33] Cortex-M33 r1p0 processor detected

Info : [STM32MP257FAIx.m33] target has 8 breakpoints, 4 watchpoints

Info : [STM32MP257FAIx.axi] Examination succeed

Info : gdb port disabled

Info : starting gdb server for STM32MP257FAIx.axi on 3334

Info : Listening on port 3334 for gdb connections

Info : gdb port disabled

Info : gdb port disabled

Info : gdb port disabled

Info : gdb port disabled

Info : starting gdb server for STM32MP257FAIx.m33 on 3333

Info : Listening on port 3333 for gdb connections

Info : gdb port disabled

Info : [STM32MP257FAIx.m33] external reset detected

Info : accepting 'gdb' connection on tcp/3333

Error: timed out while waiting for target halted

Error executing event gdb-attach on target STM32MP257FAIx.m33:

 

Info : New GDB Connection: 1, Target STM32MP257FAIx.m33, state: reset

Warn : GDB connection 1 on target STM32MP257FAIx.m33 not halted

Info : accepting 'gdb' connection on tcp/3333

Error: timed out while waiting for target halted

Error executing event gdb-attach on target STM32MP257FAIx.m33:

 

Info : New GDB Connection: 2, Target STM32MP257FAIx.m33, state: reset

Warn : GDB connection 2 on target STM32MP257FAIx.m33 not halted

Error: [STM32MP257FAIx.m33] not halted

Error: [STM32MP257FAIx.m33] context restore failed, aborting resume

Info : target STM32MP257FAIx.m33 was not halted when resume was requested

Info : Halt timed out, wake up GDB.

Error: [STM32MP257FAIx.m33] not halted (gdb fileio)

 

Does anyone know why I'm getting this output and what could be causing it? Thanks,

Carson

 

0 REPLIES 0