Using ncs v1.4.0, modem FW v1.2.3, SES v5.10d.
I'm trying to get NVS working using /zephyr/samples/subsys/nvs. It is failing to write. I also tried the code in this post:
devzone.nordicsemi.com/.../199059
Here's the output:
[00:00:00.743,621] <inf> fs_nvs: 3 Sectors of 4096 bytes
[00:00:00.749,389] <inf> fs_nvs: alloc wra: 0, ff0
[00:00:00.754,608] <inf> fs_nvs: data wra: 0, 0
NVS offset: 000fe000
NVS ate_wra: 00000ff0
NVS data_wra: 00000000
NVS Sector Size: 4096
NVS sector_count: 3
NVS ready: 1
Remaining free space in nvs sector is -22 Bytes
Bytes written to nvs: -22 at ID 0
Bytes written to nvs: -22 at ID 1
Bytes written to nvs: -22 at ID 2
Bytes written to nvs: -22 at ID 3
Bytes written to nvs: -22 at ID 4
Bytes written to nvs: -22 at ID 5
Bytes written to nvs: -22 at ID 6
Bytes written to nvs: -22 at ID 7
Bytes written to nvs: -22 at ID 8
Bytes written to nvs: -22 at ID 9
NVS offset: 000fe000
NVS ate_wra: 00000ff0
NVS data_wra: 00000000
NVS Sector Size: 4096
NVS sector_count: 3
NVS ready: 1
Remaining free space in nvs sector is -22 Bytes
Any ideas?