I implemented MCUboot in Serial Recovery mode on a custom USB stick to enable firmware updates via MCUmgr. Initially, everything was working correctly, and the image transfer speed was high, with the entire update taking just over a minute. Over time, I made changes to the application firmware, assuming that the Serial Recovery part was complete. However, when retesting the update via MCUmgr, I discovered that the transfer speed had drastically decreased to just a few bytes per second, making the entire update process take over two hours.
The commands I’ve been using with MCUmgr have always been the same:
mcumgr conn add LABEL type="serial" connstring="COMx,baud=1000000,mtu=128" mcumgr -c LABEL image upload Path\of\file\new_firmware.bin mcumgr -c LABEL reset
I’ve tried changing the baud rate and MTU in the first command, but it doesn’t seem to make a difference.
Do you have any suggestions about what the issue might be?