2016-02-16 01: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?2016-02-16 05:06 AM
Shouldn't this information be in AN2606 ?
JW2016-02-16 02:14 PM
2016-02-16 09: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?
JW2016-02-20 02:24 AM
2016-02-22 04: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'').2016-02-24 06:01 PM
Thanks for coming back with that piece of info.
JW