Hi,
I know that the QSPI peripheral of nRF5340 allows to augment memory by interfacing an external SPI Flash memory.
In addition to the internal memory, does DFU by FOTA support the update of the external memory as well ?
Gabriele
Hi,
I know that the QSPI peripheral of nRF5340 allows to augment memory by interfacing an external SPI Flash memory.
In addition to the internal memory, does DFU by FOTA support the update of the external memory as well ?
Gabriele
A colleague made an example that was able to perform a DFU on an nRF52840 DK over BLE using the on-board external flash MX25R64 as secondary flash. I was able to make it work with the nRF Connect Device Manager after modifying zephyr/subsys/dfu/boot/mcuboot.c as described in this answer.
Are you able to modify this application to work with your nRF5340 board and your specific external flash device?
2185.peripheral_uart_dfu_2.zip
Best regards,
Simon
A colleague made an example that was able to perform a DFU on an nRF52840 DK over BLE using the on-board external flash MX25R64 as secondary flash. I was able to make it work with the nRF Connect Device Manager after modifying zephyr/subsys/dfu/boot/mcuboot.c as described in this answer.
Are you able to modify this application to work with your nRF5340 board and your specific external flash device?
2185.peripheral_uart_dfu_2.zip
Best regards,
Simon
Hello Simon,
At this stage I cannot make anything practical. I just wanted to know if BLE DFU with external memory is feasible.
The case you point me out is a good one. However it seems still in progress.
I will check it for updates.
Gabriele
As you can see, I've made an update in the case referred to earlier. However, in that case the spi_nor driver was used. I've tested the nrf_qspi_nor driver with the nRF52840 (see the attached sample) and I don't see any reasons why it shouldn't work with nRF5340 as well.
Please specify where it stops up, and where you're encountering problems, and I'll try to help you.
Best regards,
Simon
Thank you very much
Gabriele