This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Not Saving in Flash Memory

Hi,
I am saving data in flash memory but when I read after restarting the device it shows FF. 
How can I read from flash after restarting the device? and how can I check that there is already data?
Thanks 

Parents Reply Children
  • probably the same issue.

     

    Muqarrab said:
    Now when I write on characteristics 10 I call these functions but not getting reading results from memory.

     What do you mean? Is it stuck in the wait_for_flash_ready()? (try to debug). If so, where are you calling this function from? Is it from an interrupt? If so, try to set some flag in the interrupt that you use to call this function from your main() loop to move it out of the interrupt.

Related