how to enable the DFU function from external MCU to Nordic 5340 via UART

Hi Sir,

As a title, I'm developing my own board with the major MCU which connects to Nordic with UART interface, and then the UART loopback test already passed.  

But I have no idea that how to upgrade the image FW from the major MCU to the Nordic 5340. 

Could you provide a guide, pseudo code, or the example firmware image to let me download it to achieve the DFU function?

BTW: Our Nordic 5340 also has two UART interfaces, one is connecting to the MCU, and the other one is a test point, so, I think I also can use it to download images via the PC tool or command line, if necessary.  

Hugh

Related