I am writing some code for a customer using the nrf52840.
The Softdevice asserts immediately after a call to nrf_fstorage_write().
The write address is OK, alignment is OK, size is multiple of 4.
I am writing some code for a customer using the nrf52840.
The Softdevice asserts immediately after a call to nrf_fstorage_write().
The write address is OK, alignment is OK, size is multiple of 4.
Hi,
There seems to be an error with writing long chunks to flash using the SoftDevice API. Can you try reducing the NRF_FSTORAGE_SD_MAX_WRITE_SIZE value, at least down to 3600 (which you have confirmed to be working)?
When writing longer chunks of data than NRF_FSTORAGE_SD_MAX_WRITE_SIZE, nrf_fstorage_write() will divide it into shorter chunks and report back through the callback when all chunks are written.
Regards,
Terje
Hi,
There seems to be an error with writing long chunks to flash using the SoftDevice API. Can you try reducing the NRF_FSTORAGE_SD_MAX_WRITE_SIZE value, at least down to 3600 (which you have confirmed to be working)?
When writing longer chunks of data than NRF_FSTORAGE_SD_MAX_WRITE_SIZE, nrf_fstorage_write() will divide it into shorter chunks and report back through the callback when all chunks are written.
Regards,
Terje