2018-05-10 01:27 PM
I have a STM32F373 design running with 16MHz HSE. My application works fine, but I am having trouble running the DFU bootloader. The host computer never sees a USB device. I have a previous F405 design using the same crystal that works without issue.
If I increment a variable in the loop that waits for the HSE to start I see that my F405 design takes between 170 and 200 cycles to start. The same test on the F373 counts to around 120 consistently.
This leads me to believe the crystal is starting quick enough.
I read the bootloader ID in memory using STLINK-utility which reads 0x41. This is the same as the documentation which states that it should be DFU and USART compatible.
I have verified the state of BOOT0.
The only thing I can think to try at this point is verifying that the actual DFU code is present in the system rom. I'm not sure how to do this yet, but this is the only lead I have left.
Can anyone please give me some insight or pointers on other possible causes of my issue? This exact setup is working perfectly on all of my F405 designs.
Solved! Go to Solution.
2018-05-10 02:43 PM
Pulling the ROM would allow you to double check version
From the notes for the F373 USB boot mode, make sure you have a 1.5K pull-up on USB_DP (PA12)
2018-05-10 02:43 PM
Pulling the ROM would allow you to double check version
From the notes for the F373 USB boot mode, make sure you have a 1.5K pull-up on USB_DP (PA12)
2018-05-10 06:54 PM
The 1.5K pull-up was the issue. It's not necessary on the F405 which explains my observation. Thank you so much Clive. I will definitely take note of this in the future.