Skip to main content
FMrkv.1
Visitor II
July 8, 2021
Question

SWD can not connect to target

  • July 8, 2021
  • 2 replies
  • 806 views

Hi, I can not connect to my STM32F767ZIT on custom PCB.

It is frustrating as everything seems to be fine:

  • MCU is powered properly with 3,3 V and it is drawing some power
  • all ST-LINK pins are correctly connected

I was trying to use ST-LINK and Cube Programmer, they work with another board so the problem is not with these programs or with drivers. I was also trying to use multiple ST-LINKs, but I had the same result with all of them.

It seems that the problem is with board or maybe I used wrong settings in ST-LINK utility? I was trying multiple modes, frequencies and reset modes, also I used default settings which should be fine?:

  • address: 0x08000000
  • size: 0x1000
  • data width: 32 bits

Thank you for any advice!

This topic has been closed for replies.

2 replies

ughr1
Associate II
July 8, 2021

check if you did not disable SWD or you did not sleep MCU, try flash with BOOT0=HIGH

TDK
July 8, 2021

It's more likely to be a hardware issue than incorrect settings in STM32CubeProgrammer. Check for correct connections, solder bridges. Show the schematic if you can.

"If you feel a post has answered your question, please click ""Accept as Solution""."