This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to combine smp_svr and hci_uart app's of zephyr for DFU OTA

Hi,

I want to do an DFU OTA in nRF52840 BLE chip.

I have flashed mcuboot bootloader and also flashed hci_uart (To scan BLE beacons) application. This will be one time flash using JTAG.

Now, I want to perform DFU OTA with the newly updated hci_uart application.

I found that we can do DFU using 'mcumgr' cli and to use 'mcumgr'  zephyr's smp_svr sample application is required on the chip.

But i can't do the firmware upgrade because i have only (mcuboot + hci_uart) app's on nRF52840 & not smp_svr. (Flashed one time using JTAG).

Q1 : Is it possible to combine smp_svr + hci_uart for one time flashing using JTAG. (So afterwards i can do OTA of hci_uart app directly using mcumgr tool)

Q2 : Is there any alternate way to perform DFU of hci_uart app with/without using smp_svr.

Thanks,

Mayank

Parents
  • Hi Mayank, 

    smp_svr and hci_uart is part of Zephyr library&example. We at Nordic until now don't have official support for nRF52 on Zephyr. I would suggest  you to send your question to the Zephyr support channel / mailing list or directly via github. 

    I can try to answer your questions, but keep in mind that we don't have in depth knowledge with Zephyr libraries. 

    Q1. smp_svr AFAIK is a normal application. So you would need to edit the source code to combine it with hci_uart if you want to merge them. I saw there is a question that the OP managed to do something similar: https://github.com/zephyrproject-rtos/zephyr/issues/10664

    Q2. Not as I know of. 

Reply
  • Hi Mayank, 

    smp_svr and hci_uart is part of Zephyr library&example. We at Nordic until now don't have official support for nRF52 on Zephyr. I would suggest  you to send your question to the Zephyr support channel / mailing list or directly via github. 

    I can try to answer your questions, but keep in mind that we don't have in depth knowledge with Zephyr libraries. 

    Q1. smp_svr AFAIK is a normal application. So you would need to edit the source code to combine it with hci_uart if you want to merge them. I saw there is a question that the OP managed to do something similar: https://github.com/zephyrproject-rtos/zephyr/issues/10664

    Q2. Not as I know of. 

Children
Related