Not able to perform dfu over ble using nrf7002

I am using a module MS12SF1(nrf5340 + nrf7002). I wanted to perform dfu over ble by using nrf7002dk_nrf5340_cpuapp_ns or nrf7002dk_nrf5340_cpuapp build configurations but as soon as I enable the dfu configurations and flash the code I don't get anything in the logs and bluetooth also stops advertising 
I was trying this on peripheral_uart sample code 

I followed the course as well but nothing helped
What can be the issue?

Using sdk v2.6.1

Parents
  • Hi, 

    It's not clear to me what is the issue from the limited information. 

    Here is my test project peripheral_uart_nrf7002DK_DFU.7z which can run peripheral_uart with BLE DFU on nRF7002DK in NCS v2.6.1.

    The build command is  

    west build -p -b nrf7002dk_nrf5340_cpuapp -d build_nrf7002dk_nrf5340_cpuapp -- -DOVERLAY_CONFIG=overlay-bt.conf

    It requires extra board/BLE DFU configs and overlay files for nRF7002DK. 

    “Beware that this code/configuration is not fully tested or qualified and should be considered provided “as-is”. Please test it with your application and let me know if you find any issues.”

    Regards,
    Amanda H.

  • Hi Amanda
    Sorry got busy with other priority tasks

    So now I am back to working with DFU 
    I wanted to share the custom board build configuration files as I am not able to build the code with it but able to build it with the default present nrf7002dk_nrf5340 build configuration

    It would be great if u can review it once and let me know what I can add
    The module which we are using is MS12SF1 (nrf5340+nrf7002)
    arm.zip

    Also wanted to confirm that do I need to add nrf5340dk_app_sr_net.conf, nrf5340dk_mcuboot_sr_net.conf and overlay_bt.conf files additionally?

    One more thing I added the necessary configurations which u added in your code in my code, earlier zi was using spi4 for sd card so I changed it to spi3 and using spi4 for flash

    I get 
    [00:00:00.002,288] <err> spi_nor: Device id 00 00 00 does not match config c2 28 17 this error on rtt

    Want to add one more point
    When I tried executing the code u sent above, ble was not advertising 

  • Hi,

    Rakshita said:
    Also wanted to confirm that do I need to add nrf5340dk_app_sr_net.conf, nrf5340dk_mcuboot_sr_net.conf and overlay_bt.conf files additionally?

    I use overlay_bt.conf is to enable BLE DFU in peripheral_uart for nRF7002DK. 

    nrf5340dk_app_sr_net.conf and nrf5340dk_mcuboot_sr_net.conf are for the MCUboot with the serial recovery of the networking core image feature. You can ignore them in the set-up stage.

    Rakshita said:
    I get 
    [00:00:00.002,288] <err> spi_nor: Device id 00 00 00 does not match config c2 28 17 this error on rtt

    You can check the similar cases
    qspi_nor error using SPI: JEDEC id [00 00 00] expect [c2 28 17] 

     JEDEC id [00 00 00] expect [c2 28 17] in Matter template sample 

     spi_nor device id 00 00 00 does not match config c2 28 17   

    -Amanda H.  

Reply Children
Related