Skip to main content
Graduate
July 31, 2025
Question

STLINK-V3SET SWD Programming not working with TAG connector on STM32G474E-EVAL1

  • July 31, 2025
  • 4 replies
  • 487 views

Hi, Im having issues programming with the STLINK-V3SET on the STM32G474E-EVAL1 board with the tag connector(CN15) I get the following output when using the STM32CubeProgrammer

13:09:01 : UR connection mode is defined with the HWrst reset mode
13:09:01 : UR connection mode is defined with the HWrst reset mode
13:09:01 : ST-LINK SN : 0039002B3234510836303532
13:09:01 : ST-LINK FW : V3J16M8B5S1
13:09:01 : Board : STLINK-V3SET
13:09:01 : Voltage : 0.64V
13:09:01 : Error: Unable to get core ID
13:09:01 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

And with programming with the IDE I get the following output

 

Starting server with the following options:

Persistent Mode : Disabled

LogFile Name : C:\Users\aiglesias\Documents\test\Debug\st-link_gdbserver_log.txt

Logging Level : 31

Listen Port Number : 61234

Status Refresh Delay : 15s

Verbose Mode : Enabled

SWD Debug : Enabled

InitWhile : Enabled

Error in initializing ST-LINK device.

Reason: No device found on target.

 

I have no issues programming with the JTAG or STDC14 connectors on the board. Im using the USB cable that came with the board to power it. 

    This topic has been closed for replies.

    4 replies

    Super User
    July 31, 2025

    @ahnsolo wrote:

    13:09:01 : Voltage : 0.64V


    There's the problem - the ST-Link is not seeing the target power

    ahnsoloAuthor
    Graduate
    July 31, 2025

    Any idea what would cause this? The board is powered up, the green LED for 5V is lit up and the COM led is red.

    Graduate
    July 31, 2025

    What do you use to adapt the Tag Connect cable to the STLINK-V3SET?

     

    ahnsoloAuthor
    Graduate
    July 31, 2025

    I use about another 4 inch set of cables to connect the TAG connector to the 10pin ribbon cable that goes to the debugger. Ive checked end to end with a DMM to see if the connection is fine on each pin and it is.The connection from debugger to the board is somewhat long with all the cables, Im not sure if this is the issue as I have seen it be with ICD programmers with too long a cable

    Graduate
    July 31, 2025

    10 pin cable that plugs into STDC14 connector (CN1)?

    Pin 1 of Tag Connect cable goes to pin 1 of 10 pin ribbon cable connector?

    Does pin 1 have > 3 volts on it?

    ahnsoloAuthor
    Graduate
    July 31, 2025

    No it does not. I dont see it either directly on the debugger when probing with a logic analyzer. I do see the SWDIO/SCLK signals though. Which makes sense because according to the debugger doc that pin is used as an input.

    ahnsoloAuthor
    Graduate
    July 31, 2025

    I probed pin 1 of the tag connector on the evaulation board and I do get 3.3V. I noticed the orientation of the 10 pin ribbon cable was reversed and fixed it so all the cables line up. I get the same issue except it also seems to hold the reset line as the program on the board stops running if I have the tag connected.