Other Parts Discussed in Thread: SYSCONFIG, SYSBIOS
Hello,
This is a follow up to this thread.
In that thread, a severe problem with the FLASH drivers or hardware came to light. A solution was proposed, but I am not convinced.
Currently I have a system that runs for over 2 weeks when I disable all NVS_write() and NVS_read() calls. If I enable them again, the system will crash within 1 hour.
Whereas in the previous thread the problem was observable in a printf(), in this failing system it is just shown by the failing system itself. I see no difference in output (and I am no longer using printf, but UART).
Another difference is that in the system described in previous thread, designed to isolate the problem, the NVS calls were in the main function, so before BIOS_start(). In this new system, the calls are in actual running tasks.
Yet, they still cause a system failure. All arrows are aimed at the NVS driver / FLASH driver / hardware. Disabling all tasks using NVS: system runs for weeks. Enabling those tasks but commenting out the NVS calls: system runs for weeks. Using NVS drivers: system fails within an hour.
I would very much appreciate more insight, as I can not move on to the production phase of our new product with these problems still present.
Thank you.
--------------------------------------------------
SDK Version: 3.20.0.68, did not upgrade yet as it is a large codebase and I am not convinced that upgrading the SDK will solve the problems without knowing which changes were made.