cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU settings vs. application settings

SHaue.2
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Jocelyn RICARD
ST Employee

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

View solution in original post

1 REPLY 1
Jocelyn RICARD
ST Employee

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