cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H757 debug issue with ST-LINK v3 and using '--halt' option

Creemers
Associate

The last couple of months I have been developing on an STM32H757I-EVAL board. Programming and debugging (multi-core) works reasonably well; although sometimes I need to re-power the board.

During the last weeks, we transitioned from the EVAL board to the actual PCB design. Since then I have a lot of issues with debugging of the board.

I use the ST-LINKV3 debugger with the ST-LIINKVOLT adapter board (for 1.8V), in combination with STM32CubeIDE 1.9.0.

Most of the times, the ST-LINK GDB server refuses to connect with the following error:

Target connection mode: Under reset

Target connection failed

Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.

Playing around with the setting shows that the ST-LINK GDB server does not connect when having the '--halt' option specified (to halt both cores). When I omit this flag, the GDB server is able to connect to the target.

I need to re-power the board to get it working again (for a couple of tries, after that it stops again)

Are there any known issues, or do you have any suggestions how I can solve the issue?

0 REPLIES 0