2025-02-12 12:18 AM
Hi,
When the sample program FLASH_EDATA_EraseProgram is executed on the NUCREO-H563ZI board, it appears that 0xAA55 is correctly written to the high-cycle data flash. However, when debugging is terminated and the board is rebooted, the data in the latter half of the flash is not written, and it remains in the Erase state (0xFFFF).
Since the memory in the Erase state is not at a sector boundary, it cannot be considered that it was erased later. Also, although the memory in the Erase state causes an NMI interrupt when read, it is possible to write to it, and after writing it becomes possible to read normally.
Please give advice how to work with the high cycle data!
Thanks,
Kiyama