STM32F417 flash spontaneously erased?
Hi,
We have a product in the field using STM32F417ZG, and it was returned to us after it mysteriously stopped working. On receiving the board, we noticed that nothing was running on the STM32F417. We read out the flash memory and it appeared to be erased (0xFFs). Important to note that we don't enable read-out protection. We reprogrammed the MCU and it started working again as normal, and a read-out of the flash was as expected. Does anyone know how this might have occurred?
We have also encountered one other device where the read-out protection was enabled but we have never explicitly set it during programming, although we can't rule out that someone enabled it accidentally during initial programming.
We are using the built in DFU bootloader via USB and originally were using the DfUSe Demo app before STM32CubeProgrammer was released.
Thanks,
Chris
