Re: [EXT] [Zephyr-users] Writing to Flash for Settings
You need to set:
From: users@... <users@...> On Behalf Of Nick Glencross via Lists.Zephyrproject.Org
Sent: Monday, April 29, 2019 2:37 AM
Subject: [EXT] [Zephyr-users] Writing to Flash for Settings
Caution: EXT Email
I'm having my first experiment with Settings backed by Flash, but not getting very far.
I have an nrf9160 Nordic board and my project file is the same as many of the examples:
Unfortunately the initial call to settings_subsys_init() is dying.
***** MPU FAULT *****
I've traced the call through various functions, such as fcb_int, fcb_sector_hdr_init, fcb_flash_write, flash_area_write and finally flash_write.
The flash_write call is passed (0xfa000, 0x20020568, 8) which matches the address shown in the crash.
I've also experimented with settings_fcb_src, but still get the same exception.
Can anymore shed any light on why it is dying (I'm assuming that area isn't writable), and how I get a bit further?