cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407G-DISC1 not working if not connected to pc

Hendrik Hanff
Associate
Posted on August 30, 2017 at 09:26

1

https://electronics.stackexchange.com/questions/221895/stm32f407g-disc1-not-working-if-not-connected-to-pc

1

I have a Discovery board STM32F407G DISC1.

I had programmed a Discovery board before with no issues. The ones that I more recently bought, have a strange issue: after I flash the program, if I connect them to the PC via USB (CN1), everything works fine, but if I power it up with external +5V or with the CN1 (but not from an USB port), the LD1 led start blinking, the LD2 red led turns on, but nothing else happens. The rest of the board is off. The program does not seem to run.

I stress that this never happened with the previous revision of the same board, i always powered it up via external +5V and it always worked correctly.

I also installed the latest ST-LINK firmware using STLinkUpgrade 3.2.2.

The same appears on a STM32F411-DISC0.

Does anyone have a clue why this is happening?

#stm32-f4-discovery #st-link #external-power
3 REPLIES 3
Posted on August 30, 2017 at 21:54

Hello Hendrik !

What is your code of your board? Do you have the schematic?  I can't find it.

The old one was MB997

Posted on August 31, 2017 at 01:25

Seen this on older firrmware. V2J28 should be good.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on August 31, 2017 at 10:53

Thanks for the answers.

It seems, that we had

- Not upgraded the stlink firmware on one board

- Not flashed the other boards

- The code is not running at all on the STM32F411-DISC0.

So now all STM32F407 are running and I will investigate why the code does not run on the STM32F411-DISC0.

Ticked closed.