2023-02-17 10:53 AM
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
Solved! Go to Solution.
2023-04-21 10:38 AM
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
2023-04-21 10:38 AM
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