i have done read and write operations on fds with dummy buffer. now when im writing new data into fds it is showing the previous data .can anyone give the function to erase the fds of previous data.
i have done read and write operations on fds with dummy buffer. now when im writing new data into fds it is showing the previous data .can anyone give the function to erase the fds of previous data.
Are you using the generic FDS library? If yes then it could be the fds needs a garbage collection
fds_gc();
The fds does not automatically delete previous records you have to perform garbage collection.
Are you using the generic FDS library? If yes then it could be the fds needs a garbage collection
fds_gc();
The fds does not automatically delete previous records you have to perform garbage collection.
yes im using generic FDS library can you explain in detail.
So actually the fds writes but does not exactly clear out the previous data and at one point unless the fds_gc() function is used it does not write new data and halts at app_error_check.
What I did was that if I got error 0x07 at app error check upon fds write, I would call the fds_gc() function. You can even check the amount of garbage collection and clear it at your will too.
so the trick is to use this function!