Skip to main content
Graduate II
January 17, 2025
Solved

Openbootloader STM32 mcu Host

  • January 17, 2025
  • 2 replies
  • 890 views

I see ST released long awaited Code for their bootloader compatible with STLINKV3+CubeProgr/CubeCLI...

What about the Host side?, a STM32 hosting the bootloader process for another STM32, standalone.

Any links or fingers pointing to people putting effort into this Bootloader Hosting stuff would be appreciated.

Javier1_0-1737113284551.png

 

    This topic has been closed for replies.
    Best answer by Saket_Om

    @Javier1 

    For the moment we haven't example that meet your application. 

    Please refer to the AN3154 to develop your bootloader host using CANBUS.

    2 replies

    Super User
    January 18, 2025

    > STM32 hosting the bootloader process for another STM32, standalone

    Try to port relevant code from OpenOCD ?

    Try a ready solution for standalone programming of STM32s. Segger offers products of this type.

     

     

    Javier1Author
    Graduate II
    January 18, 2025

    >>Try to port relevant code from OpenOCD ?

    Wouldnt just read the relevant app note be easier than porting OpenOCD source code and slam it into a STM32?


    >>Try a ready solution for standalone programming of STM32s. Segger offers products of this type.
    im not following you here, as a part of the product im working on there is going to be a master canbus STM32, this master needs to be able to update firmware of all nodes.

    Does segger offer source code maybe under license? im going to look into that

    Technical Moderator
    January 21, 2025

    Hello @Javier1 

    The host for OpenBootloader is the same as bootloader. It is the STLINK V3 + STM32Cube programmer. 

    It supports I2C, SPI and UART. FDCAN and I3C are not supported by STM32Cube programmer.

     

    Javier1Author
    Graduate II
    January 21, 2025

    Maybe i did not explained myself clearly, i want to put the same STLINK V3 + STM32Cube programmer functionality inside one of my STM32.

    Javier1_0-1737453042475.png

    Ive done this kind of arquitecture in the past, but this time i want to keep Booting compatibility with STLINK V3 + STM32Cube, this makes manufacturing and installing way easyer.

     

     

    Saket_OmAnswer
    Technical Moderator
    January 21, 2025

    @Javier1 

    For the moment we haven't example that meet your application. 

    Please refer to the AN3154 to develop your bootloader host using CANBUS.