STM32F407 own board - usb not working

Hardware inside and outside of the ECU
Post Reply
nighthunter
donator
donator
Posts: 95
Joined: Sun Feb 21, 2016 8:39 pm

STM32F407 own board - usb not working

Post 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.
Attachments
rusefiboard2_logic.pdf
(113.62 KiB) Downloaded 276 times
User avatar
AndreyB
Site Admin
Posts: 14345
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: STM32F407 own board - usb not working

Post 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.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
nighthunter
donator
donator
Posts: 95
Joined: Sun Feb 21, 2016 8:39 pm

Re: STM32F407 own board - usb not working

Post by nighthunter »

Thanks.
Damn i was blind to not see the direct connection of PA9 to 5V.... I will jump it and test.
nighthunter
donator
donator
Posts: 95
Joined: Sun Feb 21, 2016 8:39 pm

Re: STM32F407 own board - usb not working

Post by nighthunter »

Woohooo, chibios Virtual port is there :-). But just another question if i can. Why the DFU worked, and chibi needs VBUS OTG?
User avatar
AndreyB
Site Admin
Posts: 14345
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: STM32F407 own board - usb not working

Post 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!
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply