NVS storage problem

I am using the nRF52840 with NCS SDK v2.5.1. I tried to implement non-volatile storage in my application, and it is working on the DK board, but the code is not working on our custom board. We found out that this may be happening because of the revision difference. we need help with this.

  • Hello,

    Could you please confirm which revisions belong to the DK and the custom board? Are you getting any error messages from the custom board during or after programming?

    Have you attempted to program any samples from the nRF Connect SDK, and if so, what were the results? I'm unsure if this issue could be due to a revision difference, but I recommend checking a few things before considering a revision change:

    • Ensure that the power supply and clock configuration on your custom board are stable and within the required specifications for the nRF52840.
    • Compare the device tree source (.dts) and overlay files (.overlay) used for the DK board and your custom board. Ensure that the custom board's device tree accurately reflects its hardware configuration.
    • Verify that the pins used for flash memory operations are correctly configured. Compare the pin configuration between the DK board and the custom board.

    Kind regards,

    Abhijith

  • Hello Abhijith,

    Thank you for your detailed suggestions. I have investigated the issue further and discovered that there was a bug in my code causing the problem on our custom board. After fixing the bug, the non-volatile storage implementation is now working correctly on both the DK board and our custom board.

    I appreciate your assistance and the thorough troubleshooting steps you provided.

    Kind regards,

    Priyesh

  • Hello Priyesh,

    I am glad to hear that your issue has been resolved.

    Wishing you a great day ahead.

    Kind regards,

    Abhijith

Related