The postbuild in the following Makefile doesn't copy the newly genrated combined application into the folder used for debugging.
As a result, half of the time the loaded MCU boot application shows a message "no valid image found".
I have added the following line to the postbuild event to fix the issue at the end:
cp -f $$(BINARY_OUT_PATH).hex ../build/project_hex/$(APPNAME).hex;
https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic/blob/38f3eff477d093fc90a3a6575e96b209e21cd57a/blinky_cm4/Makefile#L293
The postbuild in the following Makefile doesn't copy the newly genrated combined application into the folder used for debugging.
As a result, half of the time the loaded MCU boot application shows a message "no valid image found".
I have added the following line to the postbuild event to fix the issue at the end:
cp -f $$(BINARY_OUT_PATH).hex ../build/project_hex/$(APPNAME).hex;
https://github.com/Infineon/mtb-example-psoc6-mcuboot-basic/blob/38f3eff477d093fc90a3a6575e96b209e21cd57a/blinky_cm4/Makefile#L293