Skip to main content
Visitor II
May 30, 2025
Question

STM32F769I-DISCO and MCUboot

  • May 30, 2025
  • 1 reply
  • 526 views

I am building MCUboot using Zephyr for some of the STM32 MCUs like `stm32f769i_disco`. 
MCUboot using zephyr client tested and working fine with the board `stm32f769i_disco`. 

Now I am trying to use that MCUboot with the User application I have written in STM32CubeIDE but the application hangs or nothing happens. The Bootloader output looks fine, but nothing prints from the application. What configuration steps am I missing on user application side or MCUboot side?

Using the standard addresses:
MCUboot: 0x08000000

User Application: 0x08040000
VECT_TAB_OFFSET: 0x40000

I have attached my user application project as a zip file. 

*** Booting MCUboot xxxxxxxxxxxx ***
*** Using Zephyr OS build ***
I: Starting secure bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: primary slot
I: Image index: 0, Swap type: none
I: Validating primary image...
I: bootutil_img_validate validating signed image ...
I: Image VERIFIED !
I: FLASH Bootloader chainload address offset: 0x40000
I: Image version: v1.2.0
I: Jumping to the first image slot

 

    This topic has been closed for replies.

    1 reply

    Super User
    May 30, 2025

    The "Image verified" message means only that the app image looks valid (signed, correct CRC or whatever). But in fact the app may be broken. Are you sure it works at all?

     

    btankAuthor
    Visitor II
    June 2, 2025

    Yes, I used the application as standalone flashed at 0x08040000, it works, normally. I know there needs to be some config done to use it with MCUboot, not just sure what using STM32CubeIDE.