Electronic – External power to STM32F4 Discovery board

powerstm32stm32f4

I've recently finished programming the STM32F429ZI DISC1 board. I'm fairly new to this and now want to move away from connecting it to the PC via USB and power it up via a power supply.

At present I have connected a 5V supply to the 5V pin. This seems to power the board fine in that the LCD screen comes on (blank white), the PWR LED(LD2) lights up. However my program fails to initialise and stays blank, the COM LED(LD1) also flashes red at 1hz approx.

Has anyone experience with powering this board or other STM32 boards without a USB connection? And if so which Pin did you connect to and with what voltage.

Best Answer

From this answer: STM32F429I-DISC1 can not be powered by using ext. USB Battery

There is/was a known issue with the ST-LINK firmware shipped with the F429I-DISC1 and F407-DISC1 boards, and perhaps others. The STM32 is held in reset by the debugger when not attached to a host computer, so charger/battery use cases failed. This can be remedied by updating to current firmware revisions, at the date of posting I'd recommend downloading the ST-LINK Utilities v3.9.0 and using that to update the firmware, this has solved issues I've seen with this.

I believe this sets grounds for what you did and why it worked.