Hell,
I wrote an application with DFU support added to nRF5340, and mcumgr communication on the Linux machine connected via UART times out.
environment
- Development PC :Windows10
- Development environment :Visual Studio Code
- SDK :nRF Connect SDK v2.3.0
procedure
- Modify the hello world sample and enable the DFU function on nRF5340 according to the website below.
- Disable the mass storage function of nRF5340 using J-Link Commander's MSDDisable command.
- Write the modified application to nRF5340 using VScode.
- Connect Linux machine and nRF5340 with UART.
- Communicate with the following command from the Linux machine.
- Timeout occurred
mcumgr --conntypeserial --connstring "/dev/ttyLP3,baud=115200" image list Error: NMP timeout
Since the uart signal is being sent, it seems that the problem is with the application written to the nRF5340.
Please tell me how to make uart DFU work with nRF5340.