Skip to main content
JGoh.1
Visitor II
July 9, 2020
Question

Unable to connect to ST LINK

  • July 9, 2020
  • 2 replies
  • 1312 views

HI,

I have a custom board STMWB55CGU6. I have connected it to a ST-LINK V2 to try to debug it. I have connected the correct pins (GND, NRST, SWDIO and SWCLK) but the STLINK is unable to detect the PCB. It shows the error as shown in the picture below and I have tried the method of connect under reset but to no avail also.

Any ideas on this problem? Due to the fact that I am unable to detect the Microcontroller, I am unable to neither program or debug it.

This topic has been closed for replies.

2 replies

LMI2
Senior III
July 9, 2020

With STM32 ST-LINK Utility you could try program under reset or something such. Has your CPU power and is board wired correctly.

S.Ma
Principal
July 9, 2020

WB seems special case. usually the STLink maybe monitoring the MCU Vdd to confirm the chip is powered.

Also if the chip is running clock stop mode (low power mode) then the debug link will have more challenges to operate.

If there is a boot pin, you can do a manual reset rising edge with boot pin to start the bootloader (no power save mode) so you can reflash it.

This might not be enough...