Hi,
I am getting data from sensor and want to replace some new data with the older one in flash using fds. Right now,firstly i will write into flash by using one different example,and then using the flash data, i will perform some action,and later this action will give me some result(is an array) which i have to update to flash.
For updating new data to flash i am doing:
finding the older data with FILE_ID and REC_KEY ,if found then delete the record and then fds_record_write.
mostly i have to write with the same FILE_ID and REC_KEY as i have to read with the same.
ISSUE: while doing clear flash,programming s130,programming other example having fds_record_write it is working fine. But in my working code it is just deleting the item not writing or updating it.
in one case i have used :if data found not to delete but using fds_record_update i tried to update it but no success with this also. Any suggestion will be helpful, i am stucked with it.