Skip to main content
DXu
Associate
Aug 1, 2019 3:25 PM UTC
Solved

Program stmf401re in DFU mode

Hi,

I have custom board for stmf401 and I try to program it in DFU mode. I set the boot0 to 1 and reset the chip but it is not recognized as DFU device. (not listed in the DfuSe).

Do I miss any procedure or settings?

(I have connected the PA11/PA12 pins to the corresponding pins in USB).

Thanks in advance.

Duncan

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 1, 2019 3:57 PM UTC

App Note AN2606 should provide indications if it is supported.

You'd need an external HSE oscillator, that would need to start, and be at a frequency blessed by the firmware, some STM32 had specific expectations, some not, again check AN2606 for specifics.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 1, 2019 3:57 PM UTC

App Note AN2606 should provide indications if it is supported.

You'd need an external HSE oscillator, that would need to start, and be at a frequency blessed by the firmware, some STM32 had specific expectations, some not, again check AN2606 for specifics.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
DXu
DXuAuthor
Associate
Aug 2, 2019 2:44 PM UTC

Yes, I checked the note and it is supported and It did miss the external HSE oscillator for it.

Thank you very much.