Hi, I use SDK13.1 FDS example and have some questions about that. Is there any influence about the lifetime of Flash when i use FDS function to write and delete the records.If it has,how to calculate the lifetime of Flash.Thanks.
Hi, I use SDK13.1 FDS example and have some questions about that. Is there any influence about the lifetime of Flash when i use FDS function to write and delete the records.If it has,how to calculate the lifetime of Flash.Thanks.
Hi,
I see in the stat that you have two open records. Make sure you don't have open records before calling garbage collection or it won't be able to free space. Every time you open a record using fds_record_open() you should close it by calling fds_record_close().
Also, how large is the record you are trying to store? What virtual page size are you using?
open_records=2 valid_records=38 dirty_records=16 words_reserved=0 words_used=1021 largest_contig=1024 freeable_words=493 this log means if call fds_gc ,it will reclaim 493 words?
but i call it ,still Prompt flash full,why?
I believe you have open records and that prevents garbage collection from cleaning up the flash.
In fact, fds_stat() reports you have two records open.
it seem like resolve my problom,than you ,emdi