Hi,
i want to perform BLE-DFU on BL653dvk board, with external flash. do we have any example for the same.? Kindly suggest.
Regards,
Shikamaru
Hi,
i want to perform BLE-DFU on BL653dvk board, with external flash. do we have any example for the same.? Kindly suggest.
Regards,
Shikamaru
Hello Shikamaru,
Does the BL653dvk have external flash? It does not seem like it to me. Maybe you have attached an external flash yourself? Regardless, you need to configure the DTS/overlay file so it's set up to communicate with the external flash, like it's done by default in the nRF52840 DK board DTS file (uses mx25r64 external flash) and the nRF9160DK board DTS file (also uses mx25r64). Both of these DKs have an onboard external flash.
Best regards,
Simon
Hi simon,
I have a customized bl653dvk board, which has serial NOR Flash (SPI) i.e. IS25LQ040B. i need to use this one.
Hi simon,
I have a customized bl653dvk board, which has serial NOR Flash (SPI) i.e. IS25LQ040B. i need to use this one.
Okay, you can start by adding something like the following to an overlay: https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common_0_14_0.dtsi#L42-L65
Of course, you will need to modify mx25r64 and the spi instance. Also you have to modify the fields according to the IS25LQ040B (look in the IS25LQ040B datasheet).
You should also add the following to the overlay file: https://github.com/simon-iversen/sdk-nrf/blob/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update/boards/nrf9160dk_nrf9160_ns.overlay
Take a look at this project: https://github.com/simon-iversen/sdk-nrf/tree/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update. It demonstrate how to add support for external flash using SPI communication.
First step is to get it to build and if you don't succeed with this, please upload your project in a zipped file and I will take a look at it.
Best regards,
Simon