IRQHandler name discrepancies for STM32H562 cause apparent WWDG_IRQHandler error
The startup_stm32H562Rgtx.s file was updated in July 2026, and the names of various IRQHandler routines in the interrupt vector table were changed. The new names don’t match the names in Core/Src/stm32h562_it.c. This file is generated by STM32CubeMX V6.19.0 using firmware package STM32Cube FW_H5 V1.7.0.
As the names defined in the startup file are weak external references and the names don’t match, the linker does not include the interrupt routines defined in stm32h562_it.c, and there are no linker errors.
The interrupts are routed to the DefaultHandler, an infinite loop that appears in the debugger labelled WWDG_IRQHandler.
I have identified the following name changes:
GPDMA1_Channel0_IRQHandler => GPDMA1_CH0_IRQHandler
… and all other GPDMA1 and 2 channels
TIM1_BRK_IRQHandler => TIM1_BRK_IERR_IRQHandler
TIM1_TRG_COM_IRQHandler => TIM1_TRG_COM_DIR_IDX_IRQHandler
… and the same for TIM8
USB_DRD_FS_IRQHandler => USB_FS_IRQHandler
DTS_IRQHandler => DTS_WKUP_IRQHandler
CORDIC_IRQHandler => Cordic_IRQHandler
The fix is to modify the names in stm32h562_it.c to match those in the startup file: this must be repeated after every CubeMx code generation.
