Skip to main content
Visitor II
December 14, 2021
Question

I create a PCB with stm32F411 and i obtain: "Can not connect to target" with st-LINK Utility

  • December 14, 2021
  • 13 replies
  • 2873 views

Hello,

For a project, I created a PCB with an STM32F411 using a 10pin JTAG port for SWD programming.0693W00000HoWkxQAF.pngI tried to connect my card using the ST LINK V2 box and the ST Link utility software but I get the following error:

0693W00000HoWeWQAV.pngThe st link works because I can program another card using a stm32F042. I tried all the connection parameters and to play with the BOOT0 pin status but nothing works.

Can anyone help me to program my card?

    This topic has been closed for replies.

    13 replies

    Super User
    December 16, 2021

    After looking at your picture again, the only thing you have populated is the STM32 and F1 and some cables. Might need some decoupling caps on there before it acts correctly. I guess there may be components on the other side.

    bvale.2Author
    Visitor II
    December 16, 2021

    Yes, I will order a new card changing the Vcap pin and putting a 4.7uF capacitance (because only one Vcap if I understood) and putting all the decoupling capacitance requested for the power supply. Yes I have components on the other side, and the board is printed on 4 layers.

    Normally if I read the documentation well I should not have other problems?

    Graduate II
    December 16, 2021

    I'd image it would get hot with the internal regulator shorted to ground. The core logic runs at about 1.25V, but can be functional/viable below that.

    >>Sorry, I don't understand how to do it?

    AN2606 describes the boot loader, AN3155 the UART protocol.

    By default there is no outward pin toggling, or clocks than one might see on classic MCU as an indicator that it's alive. For the STM32 you can send signals which the boot loader can respond too. Generally if neither the SWD/JTAG or the UART methods work the device is not running/powered. Synchronous logic needs POWER and CLOCKS, absent these things nothing happens.

    bvale.2Author
    Visitor II
    January 13, 2022

    Hello

    I received my new PCB yesterday, after soldering it managed to make the board work.

    I corrected the problem with the capacitance on Vcap and the decoupling capacitance on each power supply leg of the microcontroller

    Thanks for all.