embeddedstm32stm32f4st-link

ST-LINK could not connect to the target


I'm trying to connect to stm32f401rbt6 with st-link utility.

The MCU has 6 pins connected, as on the image below.

The target is powered by a lab power supply, target GND is connected to the ST-Link GND

When I plug it to the computer, st-link utility says it can't connect.

MCU connection

Tried:

The issue is still remain. Please suggest what I'm doing wrong, or how to check that my MCU is alive.


Solution

  • I once had similiar issues and i figuered out, that decoupling capacitors were vital. After soldering this onto the pcb, it worked like a charm.