Skip to main content
Visitor II
December 8, 2022
Question

STM32F429VIT6 Connection Bare Metal

  • December 8, 2022
  • 8 replies
  • 3701 views

Hello, I am working on the project from scratch. I would like to know what are the minimum connections I will need for the STM32F429VIT6 in order to program? I have segger J-Link which I will be using. so far I have connect SWCLK (Pin 76), SWDIO (Pin 72), TDI (Pin 77), NJTRST (pin 90), and Vref 3.3V (Pin 75) and VSS (GND) (Pin 74). Is that the bare minimum connection I will need to connect the board and start programming? I did check the Datasheet, Ref manual and programming guide but I am not 100% sure. I am getting an error.0693W00000WKb2bQAD.png0693W00000WKb2WQAT.png

    This topic has been closed for replies.

    8 replies

    Super User
    December 9, 2022

    SWD requires SWDIO+SWCLK+GND. J-Link supports SWD, I'd try that.

    Super User
    December 9, 2022

    yes, i do same, just using stlink2 .

    minimum to connect is: SWDIO+SWCLK+GND - as tdk said.

    + RST , if using it by j-link.

    and all power pins vss, vdd, vdda must be used, with some cer.caps.

    ah..

    + in debug config. -> select SWD + "software system reset" ! ( <- for stlink )

    AShah.12Author
    Visitor II
    December 9, 2022

    Hello TDK and AScha.3 I tried the SWD setting and connected SWDIO+SWCLK+GND but still no luck. can you please guide what are the minimum connections like VDD, VSS, Vcap1, Vcap2, etc?

    Please see the attached pinouts. I am having a hunch that I am not biasing properly. Because the error message says "Could not connect to target. Please check power, connection and settings.".0693W00000WKgSAQA1.png

    Super User
    December 9, 2022
    If it’s a custom board, sounds like a layout issue or wrong part orientation. Post schematic if you can.
    Don’t read too much into the generic error messages.
    AShah.12Author
    Visitor II
    December 9, 2022

    There is no custom board it is pretty much like extension board for LQFP100 pinouts. pretty much like breadboard. Do I need to connect all the VDD and VSS of the board to +3.3V and GND? I want to know what are the minimum pinouts I have to connect in order to bias properly? I used 100nf caps for Vcap1 and Vcap2 and connected to the ground.

    Graduate II
    December 9, 2022

    VCAP1 VCAP2 need bulk capacitance, so likely 2u2 each, or bonded together with one 4u7

    Aren't there power/wiring diagrams in the Data Sheet?

    Super User
    December 9, 2022

    >like VDD, VSS, Vcap1, Vcap2, .. all of these, and correct cer.caps on vdd, vcapx .

    i told you: ALL power pins !

    +

    boot0 to GND

    , on RST a 10..100nf cap

    +

    see as reference : the circuit of a discovery board.

    AShah.12Author
    Visitor II
    December 9, 2022

    Hello AScha,

    Yes I did follow your guidance and was able to connect boot0 to GND and also RST to 100nf cap and ground it. Still not working. 0693W00000WKgrtQAD.jpg

    Super User
    December 9, 2022

    Sure sounds like a custom board to me.

    There are a variety of sources to get this info. Datasheet, ST board schematic, or the stm32f4 hardware guide.

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

    Graduate II
    December 9, 2022

    Sounds like tacking flying wires to a handful of pins to me.

    Super User
    December 9, 2022

    0693W00000WKgmUQAT.png

    Super User
    December 10, 2022

    Caps should be placed next to the chip, not on a breadboard many inches away. What you're doing might work, if you get the connections right, but using a nucleo board seems like a better option.

    AShah.12Author
    Visitor II
    December 10, 2022

    Got it. Nucleo and discovery works great. But not with STM32F429VIT6 . I want to try this board because one of my project I cannot fit the entire board and I just want bare minimum. ​

    Super User
    December 11, 2022

    with these long leads connecting vcc, gnd and the cer.caps -> no chance.

    you have a chance to get it running, when you

    • connect all gnd together with short wires direct soldered to the (bottom) pin headers pads.
    • same for all vdd, vdda
    • also vcap
    • and cer.caps (maybe 4.7 uf) to vdd-gnd and vcap-gnd (also here, at pin header pads)
    • and the rst 100nF also here