Tool/software:
Dear TI Community,
May you please assist myself and future others that may be viewing this post.
1. Would you please describe how to assign a MCUBoot version number inside the application code rather than adding it via the post-build steps in project properties. I listed the current recommended approach towards assigning a version number below: ${CG_TOOL_ROOT}/bin/tiarmobjcopy ${BuildArtifactFileBaseName}.out --output-target binary ${BuildArtifactFileBaseName}_noheader.bin --remove-section=.ccfg
${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/tools/common/mcuboot/imgtool sign --header-size 0x100 --align 4 --slot-size 0xF4000 --version 2.0.0 --pad-header --pad --key
${PROJECT_ROOT}/Test_certificate_header.pem ${BuildArtifactFileBaseName}_noheader.bin ${BuildArtifactFileBaseName}-unencrypted.bin
Zephyr has a KConfig option "CONFIG_MCUBOOT_IMAGE_VERSION" which allows the application code to interact with the py imgtool to sign image during compilation. Does TI provide any similar support?
2. May you please also describe how to debug using the mcuboot signed image rather than the _noheader.bin, i.e. what should the post-build steps be to enter debug mode using ...unencrypted.bin.
Kind Regards
Brenton Chetty