Hello,
I have a problem with using the FDS library.
I started by exploring the example CLI program (examples\peripheral\flash_fds), it seemed to work as expected.
Then I started to integrate FDS to my own application. So far I can write and update records. It seems to work as expected.
But the problem i have is with Garbage Collection, it seems not to work in my application, even though it works perfectly in the CLI example.
I'm using the same function fds_gc() and I wait for the event before i proceed. Both the function and event succeed (FDS_SUCCESS), but the flash does not get deleted.
DEADC0DE F11E01FE 00010000 913E7000 00000001 44444444 <- "Deleted" record 00010002 A9DE7000 00000002 77777777 <- Active records 00010003 6F007000 00000003 11111111 <- 00010004 A5287000 00000004 22222222 <- 00010000 AA487000 00000005 00000052 <- "Deleted" record
This is how the memory looks before and after Garbage Collection.
Am i doing something wrong?