cancel
Showing results for 
Search instead for 
Did you mean: 

st link debugging issue

manoj3
Associate II

hello team,

 

I am facing a debug connection issue with STM32H723VGTx using STM32CubeIDE and ST-LINK.

Issue details:

  • MCU: STM32H723VGTx

  • Debug tool: ST-LINK (OpenOCD via STM32CubeIDE)

  • Interface: SWD

  • Reset mode: Software reset

  • SWD frequency: 50 kHz

Observed behavior:

  • ST-LINK connects successfully.

  • Cortex-M7 core is detected correctly.

  • GDB server starts, but the debug session fails during memory access.

Error message:

 

Error: Failed to read memory at 0x5c001000 Error: auto_probe failed Error: Connect failed

Additional observations:

  • Target voltage reported by ST-LINK is ~2.8 V.

  • I already tried:

    • Lowering SWD frequency

    • Using software reset

    • Adding monitor gdb_memory_map disable in debug startup commands

    • Halting on reset

  • Issue still persists.

Request:
Could you please confirm:

  1. Whether this memory address (0x5C001000) access failure is related to power / AXI-D2 domain / debug configuration on STM32H723.

  2. If there are any recommended debug settings or patches for STM32H7 devices under these conditions.

  3. Whether minimum voltage requirements can affect debug access to AXI/D2 memory during GDB connection.

   if possible can we connect

Regards,
K Manoj

11 REPLIES 11

You've marked this as solved - so it's not surprising you're getting no new replies.

If it's not actually solved, then you need to un-mark the solution.

 

As @gbm said, what you're using is not a genuine ST-Link, so there's no guarantee that it will work properly - or even at all.

You need to get a genuine ST-Link, from an Approved ST Distributor.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I am currently facing an issue with SDMMC initialization

@manoj3  Can you start a new topic on the SDMMC? The ST-Link question is marked as answered.