2016-07-05 01:41 AM
Hi everybody!
I have a question regarding to the flash of STM32L4xx. If i erase one flash page of the device and in the next step read out that flash page i receive always 0xFFs. Then i wtite i. e. 0xFFFFFFFFFFFFFFFF (double word) into any proper position in flash. My question: how can i distinguish the erased value 0xFF from the written value 0xFF? Are there any flag that marks a Flash cell as erased? Thanks a lot! #stm32l4xx-flash2016-07-05 01:48 AM
You can't.
You could try writing it a second time, or remember in your code that you just erased it.2016-07-05 02:01 AM
Thank you very much!