Hi,
I have an application using MCUboot (Only for using with serial recovery. No SMP server running in app).
I enable CONFIG_BOOTLOADER_MCUBOOT and parent and child images are generated automatically.
As far as I know:
-
build/mcuboot/zephyr/zephyr.hex: only mcuboot -
build/zephyr/zephyr.hex: only application -
build/zephyr/merged.hex: mcuboot+application -
build/zephyr/app_update.bin: signed bin for FW upgrade
When I flash just mcuboot and try to boot in serial recovery mode, there is no response to mcumgr image list or image upload commands (Error: NMP timeout).
If I flash merged.hex and try to boot in serial recovery before any app execution, the same problem occurs, there is no way to boot in serial recovery. Is only after booting to app at least 1 time after hex flashing, I can boot in serial recovery and list image or upload a new one.
Any clue why is this happening?
Another question is about build/zephyr/zephyr.hex (Only app). This hex has an offset so app will be flashed just after MCUboot, and if I flash just this file, app does not boot.
Is there any option to generate also an hex for flashing just app without bootloader?
If I flash the 'just app' bin at zero offset, Will it always work?
Thanks in advance!
Pedro.