2016-12-21 08:40 PM
hi,
i recently got stm32f407vg-disc1(discovery) and started a project.
i want to power up the board with external battery(5.1v, 2.4a) through micro-usb port(cn5) but it's not working at all.
it's working fine when i plug it with PC.
my english is not that good so i'm having a hard time understanding a datasheet.
any suggestions?
best regards,
chang
#external-power-source #stm32f4-discovery #stm32f407 #external-battery2016-12-22 12:34 AM
The microUSB on that board is an OTG port. It is meant to power a slave device and not power the board. There is a power switch on the board. The CPU controls it and this allows the CPU to decide wether or not to power the USB slave connected there... In theory you could sabotage that power switch and power the board the way you want. The other options are to feed the 5V (or 5.1V, that is fine) into the mini USB connector, or use one of the 5V pins on the board.
2016-12-22 06:30 AM
Review the connectivity on the schematic.
I've tended to power STM32F4-DISCO board via a 'Juice Box' type battery connected to the Mini USB (CN1)
Make sure you have the most current firmware on the DISC1 boards, there were issues with just powering it without a PC interacting, that held the STM32F4 in reset. Download current ST-LINK Utilities, and update the board with that.
2016-12-22 09:59 AM
Hi
kong.chang
I have moved your thread to
where product related questions are posted so please post future questions here as well.Thanks
Oli
2018-03-16 12:12 AM
PLEASE give more information - I have the same question. You have an answer that promises to be an answer, but gives a vague 'update your firmware'. Please give links and other information. I have spent hours trying to find this magical firmware, but to no avail.
The 30 second answers can help one 'knock off' the list of questions, but in a useless manner. By providing links to the information, the answer is clear.
Example. Use the current ST-LINK utilities, which can be found here
2018-03-16 05:24 AM
>>I have spent hours trying to find this magical firmware, but to no avail.
Then you're doing search entirely wrong. I'm an engineer not a baby sitter.
Decide if it takes 30 seconds or hours, there are some orders of magnitude at work there, and usable answers dropped out of Google immediately. Likely less time that it took to dig up this thread, and complain about things.
http://www.google.com/search?q=st-link+firmware+update
2018-03-16 01:23 PM
In my searches, I had actually found the right links without knowing this is what I needed to do. Someone else pointed out the steps more pedagogically. For the record, this is the link
Thank you
2018-03-16 01:24 PM
I also see that 'someone else' was, in fact, you.
https://community.st.com/0D50X00009XkeTwSAJ
So, thanks