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.