Hello All,
We are using MTD(Memory Technology Device) Subsystem provided abstraction layer from HLOS usecase to save some data in flash device and retrieve from the same.
We are using mtd4 which has 64k space to read and write.
Our data is around 800 bytes which we are saving on this sector. But in order to do so we need to write two times consecutively.
But we have checked for small bytes of data like 64 bytes in there we are able to read all the data correctly with single write only.
We are not getting exactly why we need to write two times for 800 bytes in order to read all the data correctly.
Inputs, Suggestions will be of great help.
Regards
Shantanu Joshi