2024-06-10 10:57 PM
Using following settings:
IDE : VS Code
Programmer : Stm32Cube programmer
Stlink Debugger
OS: Zephyr
MCU: Stm32u5 series
I'm trying to use following link in order to sign application image:
https://docs.zephyrproject.org/2.7.5/guides/west/sign.html
It keeps reporting invalid image after flashing the image. As shown in the screenshot shared below.
Image is signed.
Also tried unsigned but same issue.
Can anyone please suggest what can be potential issue or are there any specific changes required in MCUboot from zephyr to make it work with STM32?
Solved! Go to Solution.
2024-06-12 03:43 AM
Hello @A Maq,
Please try removing the --erase option in the boards.cmake file (in the Zephyr boards directory for the specific board)
There is an issue opened in Zephyr tracking this. See https://github.com/zephyrproject-rtos/zephyr/issues/69582 for more details.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-12 03:43 AM
Hello @A Maq,
Please try removing the --erase option in the boards.cmake file (in the Zephyr boards directory for the specific board)
There is an issue opened in Zephyr tracking this. See https://github.com/zephyrproject-rtos/zephyr/issues/69582 for more details.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-12 09:22 AM
Thanks @Sarra.S that helped with not removing the bootloader. There were also some configurations which I was doing wrong by adding ECDSA and the path was pointing to the RSA keys.