Skip to main content
Graduate
September 23, 2024
Solved

Program not running when powering from external source

  • September 23, 2024
  • 1 reply
  • 3870 views

I have an L432KC and to test it, I created a simple blinking program which I uploaded via USB, which works just fine. When connecting my MCU to my external 5V power supply though, my program does not run. Looking at some posts, I found people suggesting to pull down the Boot0 pin to ensure that it loads the user program, I am not able to find the Pin name on the board of the Boot0 pin of the L432KC though.

I'd appreciate it if someone could help me out.
Thanks in advance!

    This topic has been closed for replies.
    Best answer by Andrew Neil

    @DavidL_ wrote:

    How would I „break“ this link? What exactly does that mean?


    It's here:

    AndrewNeil_0-1727192204016.png

     

    The photo in the UM shows a zero-ohm resistor fitted:

    AndrewNeil_1-1727192253286.png

    To break the link, you need to remove that zero-ohm link.

    There's no need to be particularly careful with it - you don't need to keep it - so just heat it up with a soldering iron until it comes off.

     

    @mƎALLEm @STTwo-32 I've noted before that this needs to be better documented:

    https://community.st.com/t5/stm32-mcus-products/docmentation-of-solder-bridges/m-p/689362

     

    #BreakSolderBridge #SolderBridge #SB

    1 reply

    Super User
    September 23, 2024

    You're connecting 5V to CN4 pin 4 and GND to GND somewhere?

    Are you relying on the clock from the ST-Link chip? Use HSI instead.

    Unlikely BOOT0 is the issue here as it is pulled down by default, unless you've modified solder bridges.

    DavidL_Author
    Graduate
    September 24, 2024

    I see no CN4 pin on the boar, I have a "5V" pin that i connect my external power source to.

    Super User
    September 24, 2024

    The user manual has instructions for powering the board externally. I suggest following those. Perhaps a picture of what you're doing would help. All connectors are named.