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

nRF5340 - DFU over serial mission impossible

Hi,

My system is
  - nRF5340 custom board
  - Zephyr OS build v2.3.0-rc1-ncs1
  - nRF-Connect-SDK v1.2.0
To perform DFU over UART I was told to merge MCUBoot + mcumgr + smp_srv along with my application (MyApp).
Moving some config switches allowed me to
a) Build and program mcuboot in bootloader partition (using nrjprog over SWD)
b) Build and program MyApp (or smp_srv) in slot-0 (using nrjprog over SWD)
c) Build and DFU upload MyApp in slot-1 (using mcumgr over UART)
d) Confirm slot-1 image (using mcumgr over UART)
To finish the job I have to re-initiate DFU from within MyApp, passing control to smp_srv again, otherwise all this stuff makes no sense, really.
Is there an engineer from Nordic who knows how to do it ?
Best Regards
Related