Q1 – no, this mens that higher part of BLE stack runs on HCI client which has no access to nRF52840 flash at all.
Q2 – mcuboot serial recovery or your proprietary protocol which can share common uart channel.
From: devel@... <devel@...>
On Behalf Of Mayank via Lists.Zephyrproject.Org
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.