Skip to main content
Visitor II
July 29, 2024
Question

Is there a trick to connect a ST-Link-V2 to a STM32H7A3RIT micro?

  • July 29, 2024
  • 1 reply
  • 818 views

Hi Folks,

I'm having a problem with connecting my ST-Link/v2 to my new board with a STM32H7ARIT micro on it.

I have had no problem connecting the ST-Link to another board with the STM32F103RBT6 micro on it. 

I have the Debugger configuration in the STM32CubeIDE set to:

  1. Autostart local GDB server
  2. Debug probe - ST-LINK (ST-LINK GDB server)
  3. Interface - SWD
  4. ST-LINK S/N: the scan finds the ST-LINK/v2
  5. Frequency = Auto
  6. Access port: 0 - Cortex M7
  7. Reset behavior = Connect under reset

The error message I'm getting when I try to debug the program:

Error in final launch sequence:

Failed to execute MI command:
target remote localhost:61234

Is there something I've missed?

Thanks,

Richard

    This topic has been closed for replies.

    1 reply

    Graduate II
    July 29, 2024

    >>Is there something I've missed?

    That it's an electrical or connectivity issue? If the SWDIO/SWCLK interface isn't running due to power issues or off due to low power mode, you're not going to be able to connect to it.

    Check VCAP voltages and capacitors, expect 1.25V

    Check NRST, expect it to be normally High. Digital and Analogue supplies connected, VDDA used for PLL, POR, etc, not just ADC/DAC

    LDO or SMPS?

    Part Orientation? Right part? Not P/Q version

    Signs of Life? If BOOT0 strapped HIGH, check responses from AN2606 specified interfaces, ie send a 0x7F pattern to a UART at 8E1, check for 0x79 response.