2025-02-12 12:48 PM
Hey guys,
Why are the "SYS" settings simultaneously unavailable for Boot and Application? There may be a reason, but it's somewhat unclear.
Thank you, and as always:
"Always be yourself unless you can be a pirate. Then always be a pirate."
2025-02-12 01:45 PM
Hello @Intector
Infact, there is not an issue on that. The SYS setting is dedicated only to set the timebase source. So, there is not any other parameter to configure.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-13 04:35 AM
Hello @STTwo-32,
I must apologize; English is not my native language, which is probably the reason for the confusion.
My question targets the area that I have marked in red. Please let me use this opportunity to rephrase the question.
Once a "Runtime Context" is selected, the other becomes unavailable. If one chooses "Boot," the context "Application" becomes unavailable until "Boot" is deselected and vice versa. The user even gets a little info popup stating the obvious.
Also, I realize I can't select "Application" as long as I've chosen "Boot" and vice versa.
What I would like to know is why it is not possible to select the time base for both contexts.
Again, sorry for the confusion, and try to remember:
"Always be yourself unless you can be a pirate. Then always be a pirate."
2025-02-13 05:07 AM
Hello @Intector
A change request has been raised to make the "SYS" settings simultaneously available for both Boot and Application. The internal ticket number is 194264.
THX
Ghofrane
2025-02-13 01:22 PM
Hello @Ghofrane GSOURI,
I appreciate your support on that issue.
It makes the project creation somewhat more convenient, especially for people starting with the STM32H7RS series MCUs.
Since I'm using VisualGDB and don't have to fear the code modifications of the STM32CubeMX - Monster, I manually implemented the changes to make it work after the context switch.
Here are the changes required to make it work:
void TIM6_IRQHandler(void)
{
HAL_TIM_IRQHandler(&htim6);
}
#define HAL_TIM_MODULE_ENABLED
I'm using TIM6 as a time base because AZURE-RTOS uses SysTick internally.
"Be brave and attack; if the enemy retreats, pursue; if you encounter resistance, run away."