Showing results for 
Search instead for 
Did you mean: 

Need Help: Debugging Instability with Custom STM32H753BIT6 Programming

Associate III

Hello Team,

I encountered an issue while using the ST-LINK GDB server version 7.6.0. The server started successfully, but it failed when attempting to halt the target. Below are the server messages and the steps I’ve taken to troubleshoot the problem:

Server Messages:

Copy code
STMicroelectronics ST-LINK GDB server. Version 7.6.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
InitWhile : Enabled

Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Failed halting target
Shutting down...
Troubleshooting Steps Taken:

Checked Connections:

Verified that the ST-LINK is properly connected to the target device and that the target device is powered on.
Verified Target Configuration:

Confirmed that the correct microcontroller model is selected in the development environment.
Checked the firmware loaded on the ST-LINK.
Updated Firmware and Software:

Ensured the ST-LINK firmware is up-to-date using the ST-LINK utility.
Confirmed that the latest version of the ST-LINK GDB server and development tools are being used.
Checked for Conflicting Processes:

Verified that no other debugging tools or instances of the ST-LINK GDB server are running.
Target Device State:

Ensured the target device is not in a low power mode and is in a known good state before connecting