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.
Hi Petter, The return is from sd_flash_write(). And my softdevice is 7.1.0. Now, I got answer from a local supplier who said that the cause is I put the size 16 bytes, but it needs to be 1024 bytes(clear page). is there any function which can delete 100 pages once?
Hi Petter, The return is from sd_flash_write(). And my softdevice is 7.1.0. Now, I got answer from a local supplier who said that the cause is I put the size 16 bytes, but it needs to be 1024 bytes(clear page). is there any function which can delete 100 pages once?