Hello,
do you have any method, example or other documentation to recommend to me in view of implementing the storage into non-volatile data with our thingy91 ?
we use SEGGER V4.52 studio
thanks in advance
regards
Patrick Martin
Hello,
do you have any method, example or other documentation to recommend to me in view of implementing the storage into non-volatile data with our thingy91 ?
we use SEGGER V4.52 studio
thanks in advance
regards
Patrick Martin
Hello Patrick,
I would recommend opening a non-private ticket for questions like these. This way you will get answers from others in the community that have tried similar applications.
Can you please elaborate on what the application will do? What version of NCS are you running? All documentation for NCS can be found here, and the Thingy:91 reference design here.
The Non-Volatile Storage chapter in the Zephyr is probably your best place to start, which includes a NVS sample.
Let me know how that works for you.
Kind regards,
Øyvind
Thank you for your help, i must apologize as i've not been able to use your information before this morning.
i integrated the zephyr nvs sample (as it is) into my code uploaded to one thingy91
it compiles successfully and runs, here is the result each time it reboots (seems to no write properly !) from LTE link monitor
fs_nvs: 3 Sectors of 4096 bytes
fs_nvs: alloc wra: 0, ff0
fs_nvs: data wra: 0, 288
No address found, adding 192.168.1.1 at id 1
No key found, adding it at id 2
No Reboot counter found, adding it at id 3
Id: 4 not found, adding it
Longarray not found, adding it as id 5
Reboot counter history: Error, no Reboot counter
Rebooting in ...5...4...3...2...1
I searched thru the documentation and do not manage to get anything good ! for your information i using the V1.3.0 ncs.
also i supposed that the flash memory of my thingy91 is already used, how do i know what ID i should use to store my own information and avoid collision with existing data ?
Thanks very much for your support
best regards
Patrick
Does the sample work without adding it to your code?
Can you attach a full output from your terminal/RTT?
One suggestion from our Thingy:91 team is to use the Settings subsystem.
-Øyvind