Skip to main content
Visitor II
March 6, 2022
Question

stlink v3 work with stm32f411 mcus

  • March 6, 2022
  • 8 replies
  • 2021 views

Hi there.ive recently made my own circuit board which and I having trouble getting the stlink v3 to detect my f411 mcu. I've checked my oscilloscope and I can see the swd, swclk , and reset lines being driven by the programmer but I'm unable to get the cubeide to detect my mcu. The power rail is also clean too.

Is there a compatibility chart for the stlink v3 somewhere please? I'm using the mini version.

Thanks

    This topic has been closed for replies.

    8 replies

    Graduate II
    March 6, 2022

    Yes, ST-LINK/V3 will work with any of the STM32, you might have to drop the connection rate as the V3 can clock faster than CM0(+)

    For F411, make sure VCAP capacitors and voltages are correct. The VDDA is powered, as this deals with the POR and PLL too, not just ADC/DAC

    Check state of NRST

    Check part orientation

    Test with STM32 Cube Programmer, first

    SBridAuthor
    Visitor II
    March 6, 2022

    Cheers for the confirmation! I'll have a look. I have taken a capture of the SWD lines here. 0693W00000KbaHWQAZ.bmp

    SBridAuthor
    Visitor II
    March 6, 2022

    0693W00000KbaI5QAJ.bmpI've lowered the speeds. For some reason, there's an ACK failure after the turnaround. I'll have a look at your suggestions. Thanks

    SBridAuthor
    Visitor II
    March 6, 2022

    0693W00000KbaIPQAZ.bmp 

    All of the required caps and voltages are connect too

    Graduate II
    March 6, 2022

    What voltage do you measure at VCAP1 ?

    VREF+ should be connected to VDDA

    Data Sheet:

     If VREF+ pin is present, it must respect the following condition: VDDA-VREF+ < 1.2 V

    SBridAuthor
    Visitor II
    March 6, 2022

    Is it required that I connect VBAT to VDD?

    SBridAuthor
    Visitor II
    March 6, 2022

    Thank you! The problem was with the vref pin not being connected!!!​

    Super User
    March 6, 2022

    > Is it required that I connect VBAT to VDD?

    Not required, but recommended.

    0693W00000KbahyQAB.png 

    Also see STM32F4 design guide here:

    https://www.st.com/resource/en/application_note/an4488-getting-started-with-stm32f4xxxx-mcu-hardware-development-stmicroelectronics.pdf

    SBridAuthor
    Visitor II
    March 7, 2022

    Could somebody please explain why vref needs connecting (or needs respecting VDDA-VREF+ < 1.2 V) in order for my MCU to work? From what I can gather, vref is only for the ADC component.

    Thanks