Skip to main content
rdund.11
Associate
January 21, 2023
Question

Bootloader + Application Issue - Not working with Nucleo-wb55rg and STM32U585 discovery kit

  • January 21, 2023
  • 1 reply
  • 2851 views

Hello,

I've two STM32 development kit and would like to implement and test the secure boot loader, however it's not working. There is NO serial print after programming boot loader G0_BL.bin load or Application G0_App4BL.bin. I read the location of 0x08000000 and 0x08008200, i see there exists code.

​The code i've referred is from the below video

Video reference: Security Part4 - STM32 security in practice - 10 Simple boot loader lab

The development kits i'm using are

  1. ​Nucleo-wb55rg
  2. STM32U585 discovery kit 

Can you please help me here what i'm missing.

Thanks & Regards

Rajesh

    This topic has been closed for replies.

    1 reply

    Jocelyn RICARD
    ST Employee
    January 21, 2023

    Hello Rajesh,

    This is normal it does not work as this is not the same ship.

    For STM32WB55 please download X-CUBE-SBSFU here

    This is the secureboot package that addresses all STM32 families except Cortex-M33 based STM32.

    For STM32U5, as it is based on Cortex-M33, you will have to use the secure boot provided in the STM32Cube here

    Best regards

    Jocelyn

    rdund.11
    rdund.11Author
    Associate
    January 22, 2023
    Hello Jocelyn,
    Thank you for your swift and positive response. I read through readme.txt for both boards.
    My understanding is that the basic bootloader(secured) is loaded through ST link and later the Application firmware upgrade is possible only through BLE? Is my understanding correct here?
    There are folders with 1_Image, 2_Image and 2_Images_OSC. All talk about firmware upgrades through BLE.
    Do we have any simple codes with the first secure bootloader and do secured firmware upgrade through ST-link itself?
    Thanks & Regards
    Rajesh
    Jocelyn RICARD
    ST Employee
    January 23, 2023

    Hello Rajesh,

    In order to make things secure, the SBSFU uses secure protections.

    One important protection used is the RDP that makes flash access through JTAG no more possible.

    So, there is no way to update through JTAG/SWD.

    One way to update the firmware provided in SBSFU is through UART and Ymodem protocol. This protocol is available in teraterm for instance.

    Best regards

    Jocelyn