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

FDS_GC SDK15.0 52840

Product:  4 peripherals and 3 client connections

I am using 2 separate flash areas/records.

The PM starts at 0xF8000.

Product flash starts at 0xfA000 and is 3400 to 3500 bytes decimal long

When I write to the flash it is put in the upper part of flash at the correct starting address

When I use FDS_GC my flash area is getting copied down into the F8000 area --

See below

Question:  Is this correct??  Or are the records supposed to be separate thru the FDS_GC call?

Thanks

<warning> nrf_fstorage: Fdst 0xFACE0 Fsrc 0x2000C8B8 Len 4
<warning> nrf_fstorage: Fdst 0xFACE4 Fsrc 0x2000AAE8 Len 3268

<warning> app: GC

<warning> nrf_fstorage: Fdst 0xFACDC Fsrc 0x2000C8B4 Len 4
<warning> nrf_fstorage: Fdst 0xFA008 Fsrc 0x4FAB8 Len 4
<warning> nrf_fstorage: Fdst 0xF8008 Fsrc 0xFACD8 Len 3280
<warning> nrf_fstorage: Fdst 0xF8000 Fsrc 0x4FAB0 Len 8
<warning> nrf_fstorage: Fdst 0xFA000 Fsrc 0x4FAA8 Len 8
<info> app: PM_EVT_CONN_SEC_PARAMS_REQ

<warning> app: pCRC 81E1 jsCRC 0

<info> app: FLASH CHANGED ramCRC C78F flashCRC 3E34
<warning> nrf_fstorage: Fdst 0xF8CD8 Fsrc 0x2000C8E8 Len 4

<warning> nrf_fstorage: Fdst 0xF8CE0 Fsrc 0x2000C8F0 Len 4
<warning> nrf_fstorage: Fdst 0xF8CE4 Fsrc 0x2000AAE8 Len 3268

<warning> app: GC

<warning> nrf_fstorage: Fdst 0xF8CDC Fsrc 0x2000C8EC Len 4
<warning> nrf_fstorage: Fdst 0xF8008 Fsrc 0x4FAB8 Len 4
<warning> nrf_fstorage: Fdst 0xFA008 Fsrc 0xF8CD8 Len 3280
<warning> nrf_fstorage: Fdst 0xFA000 Fsrc 0x4FAB0 Len 8
<warning> nrf_fstorage: Fdst 0xF8000 Fsrc 0x4FAA8 Len 8

Parents
  • Hi,

    Are you using FDS or fstorage to manage storing of user data? FDS does not allocate separate flash regions for registered users, nor does it allow data to be store at  fixed addresses. In other words, you may see that the product record(s) gets moved around in flash (after updating a record or after GC). This is why record and filed ID are required to locate records. 

    Question:  Is this correct??  Or are the records supposed to be separate thru the FDS_GC call?

     Yes if you are using FDS for both. 

Reply
  • Hi,

    Are you using FDS or fstorage to manage storing of user data? FDS does not allocate separate flash regions for registered users, nor does it allow data to be store at  fixed addresses. In other words, you may see that the product record(s) gets moved around in flash (after updating a record or after GC). This is why record and filed ID are required to locate records. 

    Question:  Is this correct??  Or are the records supposed to be separate thru the FDS_GC call?

     Yes if you are using FDS for both. 

Children
Related