The hardwares (about five) that experienced this situation had more than 30 logs/day, because some events were triggered (many of them) during tests. Also, the max length of the logs does not exceed 20 characters each. Yet, each hardware continued working for a month before this.
I'm still trying ...
Search found 4 matches
- Wed Jan 22, 2025 11:52 am
- Forum: ESP-IDF
- Topic: NVS as a ring logger
- Replies: 4
- Views: 1295
- Tue Jan 21, 2025 4:45 pm
- Forum: ESP-IDF
- Topic: NVS as a ring logger
- Replies: 4
- Views: 1295
Re: NVS as a ring logger
Thanks for your response!
Have you tried? NVS's wear-levelling should take care of automatically erasing pages of stale data when needed.
Yes. I kept my hardware logging for several days, and yesterday I noticed that it was rebooting continuously. The root cause was NVS initialization which ...
Have you tried? NVS's wear-levelling should take care of automatically erasing pages of stale data when needed.
Yes. I kept my hardware logging for several days, and yesterday I noticed that it was rebooting continuously. The root cause was NVS initialization which ...
- Tue Jan 21, 2025 1:40 pm
- Forum: ESP-IDF
- Topic: NVS as a ring logger
- Replies: 4
- Views: 1295
NVS as a ring logger
Hello everyone!
I'm trying to use NVS as a ring logger in my project. I've already written all the code manually to accept 10 logs, each of them being a small string with a timestamp and a code (yes, I know NVS is not recommended for storing strings/blobs, but considering that the strings are short ...
I'm trying to use NVS as a ring logger in my project. I've already written all the code manually to accept 10 logs, each of them being a small string with a timestamp and a code (yes, I know NVS is not recommended for storing strings/blobs, but considering that the strings are short ...
- Tue Jan 21, 2025 12:40 pm
- Forum: ESP-IDF
- Topic: Best Practice to Implement a Circular Logger on Internal Flash
- Replies: 2
- Views: 2325
Re: Best Practice to Implement a Circular Logger on Internal Flash
Hey mfatih, do you have a solution for this? I'm trying to use NVS as a ring logger, but I'm facing some problems. I'd be glad if you can share your results!