2021-01-24 01:17 AM
Hi all,
I am new here and to STM32 in general.
I can't get the DFU bootloader recognized by the CubeProgammer, if it's because of the full chip erases I performed, I wonder if I can program the stock bootloader back. Below is a snapshot of a memory dump of of the bootloader area, I think. I am using STM32F401CE with a 25Mhz external crystal, and everything else works.
Solved! Go to Solution.
2021-01-24 05:15 AM
All bootloaders from factory is in system memory and cant be erased.
Read STM32 microcontroller system memory boot mode - Application note
in simple for start boot mode you need on reset have BOOT1 BOOT2 ... pins state
You can write own bootloader and flash it, this can be erased...
2021-01-24 01:50 AM
Is the DFU device visible to the operating system (Device manager, USB view, lsusb...) ?
2021-01-24 05:15 AM
All bootloaders from factory is in system memory and cant be erased.
Read STM32 microcontroller system memory boot mode - Application note
in simple for start boot mode you need on reset have BOOT1 BOOT2 ... pins state
You can write own bootloader and flash it, this can be erased...
2021-01-24 09:38 AM
Thanks MM..1, that answers my question, factory bootloaders cannot be erased.
BTW, I looked that the document you mentioned before I posted here but I still see where it says that factory bootloaders cannot be erased.