Hi
I'm chnaging the Secure Bootloader to an external falsh for bank1, connected with QSPI.
In the function on_data_obj_write_request is the call for nrf_dfu_flash_store (file nrf_dfu_req_handler.c
There is a callback which is needed:
inside this function I use the QSPI function:
which at the end is calling the nrfx function nrfx_qspi_write.
Here I should have a callback, but I don't know what I should implement.
The original callback in the nrf_fstorage_write is implemented like this:
return (p_fs->p_api)->write(p_fs, dest, p_src, len, p_context);
Now the DFU is strating on bank1 but the App is generating an error because data is missing because of this callack I guess?
I was following this topic:
https://devzone.nordicsemi.com/f/nordic-q-a/48961/dfu-with-external-qspi-memory