This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF Storage BUSY Error

I am implementing the BLE buttonless DFU 

SDK 14.2,

GCC compiler

softdevice 5.0.0

While writing the firmware data I am getting this error

00> INFO: ../../components/libraries/bootloader/dfu/nrf_dfu_flash.c +136 nrf_fstorage_write() failed with error 0x4.


00> INFO: ../../bootloaderVista/dfu_req_handling.c +1025 Failed 128 B address: 0x00047880

I tried increasing the NRF_FSTORAGE_SD_QUEUE_SIZE 1280

NRF_FSTORAGE_SD_MAX_RETRIES 16 

NRF_FSTORAGE_SD_MAX_WRITE_SIZE 128

I am writing data at 20 bytes per 2 ms after creating the data object successfully.

Any suggestion!!

Parents Reply
  • I don't know why you get hash errors. Did you compare the image that you fetched via SPI with the image that was originally written? Is it identical? If not, why not? Is it the same length? Is it shorter? Try to find out why it is different.

    In this solution, you have done a lot of custom work, so I am not sure why it is not working.

    Did you generate the new image with nrfutil? Or are you only fetching the application's .hex file?

Children
Related