cancel
Showing results for 
Search instead for 
Did you mean: 

Programmer not able to find target

CaueEvangelista
Associate

Hello everyone,

I'm using STM32CubeIDE 2.1.0 and STM32CubeProgrammer on Ubuntu 24.04.4 LTS.

Yesterday I was able to flash my firmware to an module based on the STM32H755 MCU via ST-LINK using the following settings:

  • Port: SWD

  • Mode: Normal

  • Reset mode: Software reset

Everything worked fine. Today I made some modifications to the firmware, but when I tried to connect again, I got this error:

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

Things I have already tried (none worked):

  • Changing Mode to "Under Reset"

  • Changing Reset Mode to "Hardware reset" and "Core reset"

  • Holding the reset button while clicking connect

  • Testing with a different ST-LINK programmer

  • Testing with a different board (same MCU)

Here is what st-info --probe returns:

Failed to enter SWD mode
Found 1 stlink programmers
  version:    V3J15
  serial:     004100223235511237333439
  flash:      0 (pagesize: 0)
  sram:       0
  chipid:     0x000
  dev-type:   unknown

The ST-LINK is detected (I see stlinkv3_0 and stlinkv3_5 in /dev), but it fails to enter SWD mode. The chip ID reads as 0x000, which suggests no communication with the target.

The board is powered externally (not by the ST-LINK). The flat cable is connected properly. I verified that the same setup worked yesterday.

Any suggestions on how to recover SWD communication?

I also attached two pictures showing the front and back of the module I'm using.

BoardFront.png

BoardBack.png

Thank you in advance.

2 REPLIES 2
MM..1
Chief III

Start specify ... Today I made some modifications to the firmware

Pavel A.
Super User

> Testing with a different ST-LINK programmer

> Testing with a different board (same MCU)

On the same motherboard? Does the card get good power?