cancel
Showing results for 
Search instead for 
Did you mean: 

SWD can not connect to target

FMrkv.1
Associate

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!

2 REPLIES 2
ughr1
Associate II

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

TDK
Guru

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".