The fault was caught by the weak handler, which I think means it was totally not expected.
The trace starts from peer_manager_init() which is part of the Buttonless DFU Template Application.
Log message: “peer_manager_pds: Could not initialize Flash. FD0002FF1”
This comes from peer_data_storage.c, after returning from fds_init() (fds.c) but the log message in the source code has more text. Odd.
Fault information: id=0x4001, pc=0x2FFF1, info=0x2003ffb8.
After the fault I ran several times using breakpoints to track it down to the return from fds_init().
QUESTIONS:
Prior to adding the Buttonless DFU code (over 300 lines), I was already using fstorage for direct read and write of the Config data flash (8Kbytes just below the B/L start address.) Is that the problem? Is fstorage incompatible with FDS?