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

FDS header: Unable to reset Record Id to zero

Hi

I am using fds to store log in flash, after reading all data from flash, I am deleting record from flash.

But I found that Record ID incrementing from previous Record ID(It should be start with Zero) while writing/updating record.

When I am erasing mcu by SES IDE, Record ID started from zero.

So my question is:

1- Can we reset fds header to zero by firmware?

2- If we can't reset fds header, will it cause problem in reading/writing data whenever Record id roll over from 4294967295(32 bit) to 0( Scenario- if some data left to read before rollover and we started writing record from zero, will it cause problem to read data)?

Thanks

Related