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,

    Sorry for the late response; I was on vacation for some days.

    I don't know why it's behaving like this, and it's hard for me to reproduce this as I don't have the module you are working with. I am not sure on this, but is this a problem regarding the DC_DC being enabled for the module you are working on? Try disabling the DC_DC inside the prj.config and MCUboot.config.

    CONFIG_BOARD_ENABLE_DCDC=n
    CONFIG_BOARD_ENABLE_DCDC_APP=n
    CONFIG_BOARD_ENABLE_DCDC_NET=n

    Kind Regards,

    Abhijith

  • Thank you for the clue, but it also does not work. I guess I just need to find another hardware.

  • Hello,

    Jirik said:
    I guess I just need to find another hardware.

    I don't think that's a good idea to resolve the issue.

    I am attaching a sample where I included a device tree overlay for the NORA B1 module. Build this sample by including the nora_b1.overlay, and see if this helps. Since the application without MCUboot is working fine, the issue likely lies in the bootloader configuration or the interaction between MCUboot and your application. Please update me with the result. Sorry, I could not provide a clear solution to this issue.

     

    Kind Regards,

    Abhijith


    lbs_ota_dfu_withNORA_DT.zip

Reply
  • Hello,

    Jirik said:
    I guess I just need to find another hardware.

    I don't think that's a good idea to resolve the issue.

    I am attaching a sample where I included a device tree overlay for the NORA B1 module. Build this sample by including the nora_b1.overlay, and see if this helps. Since the application without MCUboot is working fine, the issue likely lies in the bootloader configuration or the interaction between MCUboot and your application. Please update me with the result. Sorry, I could not provide a clear solution to this issue.

     

    Kind Regards,

    Abhijith


    lbs_ota_dfu_withNORA_DT.zip

Children
Related