BUG: STM32CubeIDE 1.6.1 code generator fails to generate SysTick_Handler () if used with RTOS and non-systick timer as timebase source
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-04 11:06 AM
Using STM32CubeIDE 1.6.1 with a project based on Version 1.6.0 of the STM32H7 firmware package the code generator will not generate a void SysTick_Handler (void) { method as long as according to the recommendation a non-systick-timer is configured as timebase source.
The missing of the Systick_Handler definition makes the MCU run the default handler (endless loop) on the first timer interrupt. This is hard to debug because the debugger cannot determine which signal triggered the default handler and points to the WWDG (even if it is disabled).
Adding an empty
void SysTick_Handler (void) {}
definition or selecting the systick timer as timebase source both hide the bug.
Labels:
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
-
STM32H7 Series
-
SysTick
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
