AnsweredAssumed Answered

STM32L4xx-Flash: erased flag?

Question asked by syrkine.pavel on Jul 5, 2016
Latest reply on Jul 5, 2016 by syrkine.pavel
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!

Outcomes