Hello, I have a really strange problem with our STMF407 custom board that connects to a full-size SD Card socket using SDIO. The MCU uses HSE at 8MHz and SDIO configuration as a 4-bit wide bus and div factor = 0. All the other values are SDIO de...
We don't really do much with the option bytes though. Also the devices work for 3-4 years with no issues but then they just stop working because the flash erased itself somehow.
The majority of the devices probably work fine (or at least we don't get any RMAs for them). So far, we have received maybe 200 or so back from the 4,000 units out there. About 160 of these 200 units had this problem. It's less than 5% of the total ...
In our case, we have a software interface program that updates the flash data via USB HID. Maybe an invalid report write could erase the flash? I don't understand how the entire flash memory could be written to 0xFF though.
Have you ever figured out what caused the flash erase on your STM32F417ZG? We are seeing the same problem now from several customers RMA returning a bunch of our products running STM32F407VGT6. We see the exact same issue with the returned unit havin...
I wish there's a demo program on how to use the new STM32 Bootloader mode as STM32CubeProgrammer. I'd actually prefer to use that since it's a lot faster at loading the new firmware than doing it in the DFU mode.