cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS SysTick_Handler missing

DrPiWork
Associate II

Moved from MPUs forum; STM32F072 is an MCU - not an MPU.


Hi,

I've just started a new project for a STM32F072 chip using STM32CubeIDE 1.17.0.
When adding FreeRTOS support to my project, the program hangs soon after osKernelStart() is called.
I had hard time finding the culprit.

The problem is that the SysTick_Handler() present in cmsis_os2.c is not used (It is surrounded with #if defined(SysTick) /  #endif).
Because os this, the default handler is called (infinite while loop).

I've worked around this problem by copying the SysTick_Handler() function in my code. But this problem should be fixed in the STM32CubeIDE code generator.

Best regards,

Nicolas

3 REPLIES 3
Imen.D
ST Employee

Hello @DrPiWork 

Make sure to use the STM32CubeMX version 6.13.0.

If the issue is not resolved with this latest release, please share your ioc file to reproduce this.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hello,

I'm using STM32CubeIDE 1.17.0.

From what I can see in the Help / Installation details / Installed software menu, it uses STM32CubeMX 6.13.0.202411220809

Regards,
Nicolas

 

I forgot the .ioc file. Here it is.

Nicolas