Fault when I use NVS for settings storage #30059
-
Hi, I'm writing a firmware for nRF52832 MCU based on Zephyr 2.4 and I try to load settings from flash with NVS method but get a fault. In particulary the debugger returns DATA VIOLATION FAULT. This is the code that I use to load settings and initialize the memory.
settings_load... This is my settings in proj.conf file: CONFIG_SETTINGS=y Anybody knows where is the problem? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Do you know which line cause the problem? |
Beta Was this translation helpful? Give feedback.
Do you know which line cause the problem?
Can you experiment with values of
CONFIG_MAIN_STACK_SIZE
andCONFIG_HEAP_MEM_POOL_SIZE
?