Error: Data mismatch found at address (byte = 0x00 instead of 0xFF)
Hi, I am working with STM32L072 microcontroller. I programmed it without any validation or checksum issues, but after reading the firmware and verifying, a mismatch was found in a few flash cells.
For downloading firmware I tried STM32CubeProgrammer v2.13.0 and older, also tried STM32 ST-LINK Utility v4.6.0.0 (STLinkUSBDriver.dll v5.1.2.0, ST-LINK_CLI.exe v3.6.0.0 if needed), STM32CubeIDE 1.17.0 and the problem was the same [Error: data mismatch detected at address 0x800FF3C (byte = 0x00 instead of 0xFF)]
I try other levels of code optimization, the problem persists, but the corrupted cell positions change.
I try to manually change these cells with STM32CubeProgrammer, but after writing to the corrupted cell, the other cells around were also corrupted.
This problem exists on all my L072 processors.
ST-Link FW : V2J43S7
