mcumgr image upload hangs

Hi, 

I'm developing a firmware based on Zigbee CLI sample. And I enabled DFU of app core and net core via serial with serial recovery mode.

Using SDK v2.4.2 and nRF5340.

 

Now I am facing an problem in mcumgr image upload with app-core image(app_update.bin).

When I tried upload the image by

mcumgr conn add CONN_NAME type=serial connstring=dev=/dev/uart4,baud=115200,mtu=512
mcumgr -c CONN_NAME image upload APP_CORE_APP_IMAGE

the upload process never finished (no control is returned) and I got below log.

time="2024-12-02 11:34:45.15" level=debug msg="Rx serial:
00000000 1b 5b 31 3b 33 32 6d 75 61 72 74 3a 7e 24 20 1b |.[1;32muart:~$ .|
00000010 5b 6d 1b 5b 38 44 1b 5b 4a 5b 30 30 3a 30 31 3a |[m.[8D.[J[00:01:|
00000020 33 35 2e 30 31 39 2c 33 31 37 5d 20 1b 5b 31 3b |35.019,317] .[1;|
00000030 33 33 6d 3c 77 72 6e 3e 20 73 68 65 6c 6c 5f 75 |33m<wrn> shell_u|
00000040 61 72 74 3a 20 52 58 20 72 69 6e 67 20 62 75 66 |art: RX ring buf|
00000050 66 65 72 20 66 75 6c 6c 2e 1b 5b 30 6d |fer full..[0m|\n" 
time="2024-12-02 11:34:45.158" level=debug msg="Rx serial:
00000000 1b 5b 31 3b 33 32 6d 75 61 72 74 3a 7e 24 20 1b |.[1;32muart:~$ .|
00000010 5b 6d 1b 5b 38 44 1b 5b 4a 5b 30 30 3a 30 31 3a |[m.[8D.[J[00:01:|
00000020 33 35 2e 30 31 39 2c 38 36 36 5d 20 1b 5b 31 3b |35.019,866] .[1;|
00000030 33 33 6d 3c 77 72 6e 3e 20 73 68 65 6c 6c 5f 75 |33m<wrn> shell_u|
00000040 61 72 74 3a 20 52 58 20 72 69 6e 67 20 62 75 66 |art: RX ring buf|
00000050 66 65 72 20 66 75 6c 6c 2e 1b 5b 30 6d |fer full..[0m|\n"
time="2024-12-02 11:34:45.167" level=debug msg="Rx serial:
00000000 1b 5b 31 3b 33 32 6d 75 61 72 74 3a 7e 24 20 1b |.[1;32muart:~$ .|
00000010 5b 6d 1b 5b 38 44 1b 5b 4a 5b 30 30 3a 30 31 3a |[m.[8D.[J[00:01:|
00000020 33 35 2e 30 31 39 2c 39 32 37 5d 20 1b 5b 31 3b |35.019,927] .[1;|
00000030 33 33 6d 3c 77 72 6e 3e 20 73 68 65 6c 6c 5f 75 |33m<wrn> shell_u|
00000040 61 72 74 3a 20 52 58 20 72 69 6e 67 20 62 75 66 |art: RX ring buf|
00000050 66 65 72 20 66 75 6c 6c 2e 1b 5b 30 6d |fer full..[0m|\n"

Under what circumstances does this problem occur?
Is the problem at the mcumgr server, the mcumgr client, or the app-core?


For additional info,
In this case, the hex file which is running on RF5340 is built on mac OS.
But in the case I use the hex file built on Windows using the same source code and configs, mcumgr image upload with the same bin file is secceeded.

Parents Reply Children
No Data
Related