Skip to main content
DXu
Associate
August 1, 2019
Solved

Program stmf401re in DFU mode

  • August 1, 2019
  • 1 reply
  • 918 views

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.
Best answer by Tesla DeLorean

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.

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
August 1, 2019

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 VenmoUp vote any posts that you find helpful, it shows what's working..
DXu
DXuAuthor
Associate
August 2, 2019

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

Thank you very much.