cancel
Showing results for 
Search instead for 
Did you mean: 

SYS settings not available for Boot and Application context

Intector
Senior

Hey guys,

Why are the "SYS" settings simultaneously unavailable for Boot and Application? There may be a reason, but it's somewhat unclear.

Intector_0-1739391584412.png

 

 

 

Thank you, and as always:

"Always be yourself unless you can be a pirate. Then always be a pirate."

 

4 REPLIES 4
STTwo-32
ST Employee

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.

Hello @STTwo-32,

I must apologize; English is not my native language, which is probably the reason for the confusion.

Intector_0-1739449137408.png

 

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.

Intector_1-1739449611067.png

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."

 

Ghofrane GSOURI
ST Employee

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

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:

  • Adding those lines to the end of stm32h7rsxx_it.c

 

void TIM6_IRQHandler(void)
{
  HAL_TIM_IRQHandler(&htim6);
}

 

  • Uncomment HAL_TIM_MODULE_ENABLED in stm32h7rsxx_hal_conf.h

 

#define HAL_TIM_MODULE_ENABLED

 

  • Adding stm32h7rsxx_hal_timebase_tim.c to the project

 

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."