Skip to main content
Visitor II
February 17, 2023
Solved

SBSFU settings vs. application settings

  • February 17, 2023
  • 1 reply
  • 1482 views

I'm running the SBSFU on a STM32H7 where I can succesful upload a new application and it is starting. The application is running on an external flash.

The question is, can I simply change the clock system settings to the applications need at startup or do the bootloader and app must have the same clock settings? Because the bootloader already sets the clock settings for it's own need. Can I use

the same clock settings as it would run as a standalone app?

The second question is, the application is running azure RTOS which uses the SysTick as a base timer und the normal tick is incremented via TIM6. Is this possible to simply change the Tick sources or do I have to stop the current clock system in

any way?

I appriciate your help

    This topic has been closed for replies.
    Best answer by Jocelyn RICARD

    Hello @stefanHriauenstein​,

    I'm sorry for late answer.

    There is no need to keep the same clocking between bootloader and application.

    You just need to be careful when changing the clock, to first disable the PLL.

    About your second question, when SBSFU jumps to application it first disable the systick.

    So, you don't have to care about how your RTOS is starting.

    Best regards

    Jocelyn

    1 reply

    ST Employee
    April 21, 2023

    Hello @stefanHriauenstein​,

    I'm sorry for late answer.

    There is no need to keep the same clocking between bootloader and application.

    You just need to be careful when changing the clock, to first disable the PLL.

    About your second question, when SBSFU jumps to application it first disable the systick.

    So, you don't have to care about how your RTOS is starting.

    Best regards

    Jocelyn