Hello,
I’ve an EK-RA4M3 with MCUBOOT using SWAP. I want to create a single hex file for combining mcuboot and application.
I’m assuming I just need to modify the Python script options to create a signed hex instead of a signed binary?
Thank You
Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.
Volt.Tech
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hi, I'm sure it's possible to modify the Python signing program to output a hex file rather than binary by adding suitable code or pre-existing library. python imgtool.py sign -k mcuboot/root-rsa-2048.pem -v 1.0.0 --header-size 0x200 --align 4 --pad-header --pad-header-size 0x200 merged.hex signed.hRead more
Hi,
I’m sure it’s possible to modify the Python signing program to output a hex file rather than binary by adding suitable code or pre-existing library.
In this example, merged.hex is the merged hex file, and signed.hex is the signed hex file that will be created. The –pad-header and –pad- header-size options are used to add padding to the title of the signed hex file, which is required by MCUBOOT.
Thank You
See less