I'm getting a softdevice assertion at PC=0x14CBC after calling fds_record_write(NULL,&record), the record contains the following information:
fds_record_t const record =
{
.file_id = 0xF012,
.key = 0x7012,
.data.p_data = p_data,
.data.length_words = (size+3u)>>2u,
};
where p_data ponts to 0x20009cd4 and size = 8 bytes
the record is allocated in 0x2000ef68
The function return success, but before executing the next instruction I get the SOFTDEVICE: ASSERTION FAILED
Before running the code I'm always doing a mass erase on the flash so the record is not found on the filesystem prior to write
How can I check what's happening?
I'm using the nrf52832 and the SDK 16.0.0 with the softdevice S132 v7.0.1