Hello,
I am writing some data to flash, but when it runs to storage_clear, I get the return code---0x10. It seems clear failed. And I tried storage_update, and it failed with 0x10 too. Anybody can help out for this?
Hello,
I am writing some data to flash, but when it runs to storage_clear, I get the return code---0x10. It seems clear failed. And I tried storage_update, and it failed with 0x10 too. Anybody can help out for this?
0x10 is NRF_ERROR_INVALID_ADDR. pstorage_clear() will return this if you use an address that is not word aligned.
So you are using SoftDevice S110 7.1.0. What SDK are you using? It shouldn't be necessary to use the page size when using storage_clear(). At least not in later SDKs, see this.
So you are using SoftDevice S110 7.1.0. What SDK are you using? It shouldn't be necessary to use the page size when using storage_clear(). At least not in later SDKs, see this.