[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
rusefi.com • STM32F407 own board - usb not working
Page 1 of 1

STM32F407 own board - usb not working

Posted: Mon Jan 30, 2017 8:06 am
by nighthunter
Hi everybody, i made my own logic board, flashed the firmware via HEX->DFU over USB, DFU is working, grounded BOOT0, board firmware is running (leds are blinking) but my USB connection is not working. Can somebody help me with it? Here is my logic board schematic.
PS: Ignore the BOOT0 resistor R83, i have BOOT0 tied to gnd.

Re: STM32F407 own board - usb not working

Posted: Mon Jan 30, 2017 9:43 am
by AndreyB
I do not see your usb 5v routed to PA9? Add a jumper to PA9 and see if it helps? Do you have a picture of your actual hardware?

We do not wire to PA12 we seem to just ignore USB otg pin maybe? Compare our schematics to your schematics.

Re: STM32F407 own board - usb not working

Posted: Mon Jan 30, 2017 10:08 am
by nighthunter
Thanks.
Damn i was blind to not see the direct connection of PA9 to 5V.... I will jump it and test.

Re: STM32F407 own board - usb not working

Posted: Mon Jan 30, 2017 10:46 am
by nighthunter
Woohooo, chibios Virtual port is there :-). But just another question if i can. Why the DFU worked, and chibi needs VBUS OTG?

Re: STM32F407 own board - usb not working

Posted: Mon Jan 30, 2017 10:51 am
by AndreyB
Question 'why' is above my pay grade but glad to help! Still want a picture of this board, it's cool to see what people are doing!