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

how to remove FDS data from flash in PCA10059

Hi,

I have pca10059 and I need to remove FDS data during programming the device (for sure I do not want to remove bootloader). and it seems that nrfConnect could not do that.

there is a standard way to do this? without connecting JLINK to the board?

Parents
  • Hi,

    Do you only want to clear the data on the FDS pages, or do you want to completely clear the pages, including FDS page tags, etc?

    If you want to clear the data, this could be done with a modified version of the FDS example. Remove any write operations in the firmware, build it and program it to the dongle, then use the CLI to delete all records. Note that the FDS projects in the SDK are not created for the dongle and there is no USB transport for the CLI in the example, this will have to be added.

    If you want to clear the entire flash pages, I suppose this can be done by an empty "dummy" hex-file that is located in the area where FDS stores data.

    Best regards,
    Jørgen

Reply
  • Hi,

    Do you only want to clear the data on the FDS pages, or do you want to completely clear the pages, including FDS page tags, etc?

    If you want to clear the data, this could be done with a modified version of the FDS example. Remove any write operations in the firmware, build it and program it to the dongle, then use the CLI to delete all records. Note that the FDS projects in the SDK are not created for the dongle and there is no USB transport for the CLI in the example, this will have to be added.

    If you want to clear the entire flash pages, I suppose this can be done by an empty "dummy" hex-file that is located in the area where FDS stores data.

    Best regards,
    Jørgen

Children
No Data
Related