Zephyr NVS sample on nrf52840dk produced hardfault

I build the Zephyr NVS example that came with nRF Connect SDK version 2.7.0.

When using the nRF52840-DK and in my build config selected nRF52840 DK nRF52840, the application will crash.
I get an hardfault when using the Ozone debugger. The hardfault occurs at nvs_recover_last_ate(fs, &addr); in nvs.c 

Any idea how to solve this?

Bob

Related