I am using nrf_fstorage_read command to read data from flash. I have defined my start address as 0x68000 and end address as 0x72000.
I erase the memory through nRFgo studio and when I read the memory from start to end address from main I read 0xFFFFFFFF(which is the correct value). But when I read the same addresses from another function that I call, without writing anything to it, I get garbage values. I have just initialized timers and flash before I call my function to read these addresses. Also all the addresses have the same value in them.
I dont understand how can the flash have any value in it without writing anything to it.
Thanks in advance.