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 Developer Academy course sample now, and it is working fine on my side. It's not generating any errors, as you pointed out. Device is advertising properly. See the screenshot below. To which board are you building? Have you changed anything in the sample?


    Please expect the next response only after the 2nd of April, as it is Easter vacation here in Norway.

    Kind Regards,

    Abhijith

  • Hello,

    thanks for your answer. When I follow the steps 1 to 5, everything works fine, the BLE is advertising, I got messages vie COM port, when I connect per Nrf Connect Mobile, there is the option of the DFU.

    When I continue in the tutorial, or when I just use the solution from GitHub, built it for nrf5340dk_nrf5340_cpuapp and flash it on the Nfr5340DK from VS Code (without any changes), I get this error message and the program does not continue. 

    Did you do it the same way? (just build for nrf5340dk_nrf5340_cpuapp in the VS Code and Flash via nrf Connect extension) or did I missunderstand something and did something wrong?

    I did not change anything in the sample and I use nrf5340DK.

    I wish you happy eastern, and I am looking for the answer after the 2nd April. Thanks a lot for the support :)

    Kind regards

    Jiri

Reply
  • Hello,

    thanks for your answer. When I follow the steps 1 to 5, everything works fine, the BLE is advertising, I got messages vie COM port, when I connect per Nrf Connect Mobile, there is the option of the DFU.

    When I continue in the tutorial, or when I just use the solution from GitHub, built it for nrf5340dk_nrf5340_cpuapp and flash it on the Nfr5340DK from VS Code (without any changes), I get this error message and the program does not continue. 

    Did you do it the same way? (just build for nrf5340dk_nrf5340_cpuapp in the VS Code and Flash via nrf Connect extension) or did I missunderstand something and did something wrong?

    I did not change anything in the sample and I use nrf5340DK.

    I wish you happy eastern, and I am looking for the answer after the 2nd April. Thanks a lot for the support :)

    Kind regards

    Jiri

Children
No Data
Related