Erase/Program/Verify worked fine before, now fails on erase with almost no changes
Hello all,
We are developing a product with a STM32L071x8 uC in it and we're using STM32CubeProgrammer to upload firmwares to it. We used to be able to upload firmwares with no issues. However, ever since we developed our newest firmware, we have been having issues with using Cube. Usually- but not always!- the erase that takes place before the programming process will fail. If we skip the erase and just go straight to the program and verify, the firmware goes in fine, and the product passes our test suite.
We have replicated this issue on multiple PCs, with multiple STLINK-V3s, on multiple targets, and as stated, the firmware seems to be working fine as once it's in the device it passes all of our testing. Does anyone have any suggestions for why the erase operation might be failing when our process includes one firmware but not another? Thank you in advance.
