I am trying to build an application that can switch into MCUBoot's serial recovery mode and receive a new firmware image over the serial port. I'm using NCS 1.7.1 through Visual Studio Code on a 64-bit Windows 10 machine. I've set up a multi-image build with an MCUBoot child image, and verified that my code stays in MCUBoot when I either hold the button at startup or set the GPREGRET register accordingly (with some extra code added to mcuboot).
I'm just trying to verify that mcumgr can talk to the software at the moment. By following this guide, I have successfully built an application that mcumgr can talk to over the serial port. Now I want to have the same result when MCUBoot is running in serial recovery mode. This command works in my parent application, but not when in MCUBoot (it just times out):
mcumgr --conntype serial --connstring "com5,baud=115200" echo hello
I've attached my application and mcuboot config files, as well as my mcuboot dts overlay file.