OTA DFU on NORA B1

Hello,

I have a project working on Nora B1, which I am testing on nrf5340DK. It is based on the Peripheral UART Sample, programmed with nfr Connect SDK v1.9.1. Now I need to add the OTA DFU to update the program from the nrf Connect mobile app. I changed the prj.conf and main according to this tutorial

https://getwavecake.com/blog/adding-ota-dfu-to-a-nordic-zephyr-project/

It works perfectly, when I am testing it on the Development Kit, but it does not work at all on the Nora B1. The flash is succesful, but the BLE can't get initialised.

I tried a bit and it seems like the problem is caused by the line

CONFIG_BOOTLOADER_MCUBOOT=y
when I add this to the prj. conf, BLE does not work, even when I did not do any changes in the main.
Is there anything special I should take care about while configuring bootloader on the NoraB1?
Thanks a lot for any answer
Parents
  • Hello,

    I tried the sample inside the NCS v2.5.0, and it's working fine on my side. I tried the below configuration (screenshot) inside prj.config. I also enabled the internal RC oscillator as the low-frequency clock source inside the mcuboot.config. Please see that you don't need to enable CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM, as it will be enabled by default (see here). My device is advertising properly, and I can't produce any warnings.

    Please let me know if I am missing anything here.

     

    Kind Regards,

    Abhijith

  • Hi Abhijith,

    After a lot of trying and searching (thanks a lot to Torsten Robitzki for the hint), is my question:

    Is it possible to use FOTA on nRF5340 devices without external flash? And if yes, how should I change the sample from the DevAcademy to do so?

    Thanks a lot in advance

    Kind Regards

    Jiri

Reply Children
No Data
Related