Hello,
Thank you for your details.
If you want to check/ debug the data in flash memory after reset you can use the Attach option in Debug session type in debug configuration.
Attach option assumes that code is already running on the board and therefore does not run a target initialization file.

Every time you run/debug with Download session type the new code is downloaded into MCU, so, the flash is erased and a new project is loaded into MCU. So, you lost the stored data by the previous project.
If it is not clear, please, let me know.
Best regards,
Diana