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

How to read all the data stored in the flash?

I have written two functions to write and read data from the flash using flash_fds module. In this way I am calling the function to write the data to flash :

fds_write_record(1243658723, 39, "AABBCCDDEEFF");
fds_write_record(2243658723, 29, "AABBCCDDEEFF");
fds_write_record(3243658723, 39, "AABBCCDDEEFF");
fds_write_record(4243658723, 49, "AABBCCDDEEFF");
fds_write_record(1243658723, 59, "AABBCCDDEEFF");
fds_write_record(2243658723, 69, "AABBCCDDEEFF");

I am able to write the data but when I want to read the data using "fds_record_open();"  I am getting only last record. I need to read all the records from the flash. Please provide me the solution to do so. I request to please share any example code that reads the complete data stored in the flash. 

Thanks,

Parents Reply Children
No Data
Related