VBUS usage by bootloader.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-16 1:36 AM
I have a board that has an STM32F405 with the USB pins routed to the USB connector. I had problems getting that board to boot, and I was unable to get it to work as DFU device on USB.
One of the possible causes is that the DFU firmware uses VBUSSENSE. That would mean that the device waits for vbus before activating the USB interface. Could that be the case? I have not hooked up the VBUSSENSE line to the CPU. Does anybody know if the F405 uses VBUSSENSE in the DFU bootloader?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-16 5:06 AM
Shouldn't this information be in AN2606 ?
JW- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-16 2:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-16 9:51 PM
Okay, so once VBUS isn't mentioned in the AN, couldn't we infer that it is not used in the default USB DFU bootloader? Can't the source of your trouble be of another origin - power supply stability/rise time, instable/inappropriate clock, bootloader inadvertently starting with another peripheral (USART, SPI, I2C) due to externally-driven activity at bootloader-related pins?
JW- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-20 2:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-22 4:56 AM
OK! Update for those following this....
I had a short under the USB connector. That's why it wouldn't boot from USB. So I now have confirmation: the bootloader uses ''NOVBUSSENS'' and will work without a VBUS sense line connected. (the other board didn't have the short, but I didn't modify it for ''boot from USB'').- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-24 6:01 PM
Thanks for coming back with that piece of info.
JW