The NVS in the nCS erases the contents in DFU, is this a specification? or bug?

As the title suggests, is this a specification? or bug? otherwise something missing in the settings?

NVS values did not vanished while nRF5 SDK used.

before DFU

after DFU

  • If you're doing DFU from nRF Connect Device Manager app, there's a setting "erase application storage", enabled by default.

    Could you check that?

  • Hi,

    I am using the nRF Connect for mobile app. is it common to use the nRF Connect Device Manager app?

    By the way, is there a setting equivalent to that function in nRF Connect for mobile?

  • Hi,

    If you are using the nRF Connect app, there is an equivalent settings in Settings/Mcu Manager options/Erase application settings.

    Could you please check if that is the cause?

    If it doesn't help. Could you try to set CONFIG_IMG_ERASE_PROGRESSIVELY to see if it differs from this?

    I will start the holiday tomorrow and will not reply until January. 09.2024. If this case is urgent to support. Please create a new support case. 

    Merry Christmas & Happy New Year. 

    Amanda H.

  • Related