cancel
Showing results for 
Search instead for 
Did you mean: 

mcu can't be recognized by st-link in a custom board

SEMad
Associate III

Hi guys.

I made this circuit/board at home:

0690X00000DBscrQAD.png0690X00000DBsd1QAD.png

0690X00000DBsdkQAD.jpg

but cant't be recognized in "STM32 ST-LINK Utility" (swdio & swclk).

i tested "under reset, with lower frequencies, and connect with pushed reset button down while connecting usb cable".

also the other layer (all of it, there is no circuit in bottom layer) of pcb is polygoned to ground (i used two layer fiberglass pcb). is it possible the mcu affected by this grounded polygon?

thanks.

4 REPLIES 4
andy2399
Senior

You need to show your programming connections.

You need SWDIO,SWCLK,RESET and Ground all connected to the ST-Link programmer. You should also make sure RESET is pulled high.

Andy

Uwe Bonnes
Principal II

Can some other debugger connect?

the wiring is is according to:

GND -> GND

VDD -> VCC

PA14 -> SWCLK

PA13 -> SWDIO

NRST -> TRST

i tried in boot mode (boot0->high & boot1->low) and normal mode(boot0->low & boot1->low) but no success!

i have no other st-link...

but using usart1 in boot mode (boot0->high & boot1->low)0690X00000DBtzrQAD.png: