Ux_Device_CDC_ACM example for Nucleo-H7S3L8 times out on USB_CoreReset
Hello
Im stuck getting the Ux_Device_CDC_ACM example working.
To reproduce
- Get the example Ux_Device_CDC_ACM from the X-CUBE_AZRTOS_H7S3L8 V1.0.0
- I set the Boot_XIP.hex in to the debugger configuration (In the readme both Boot_XIP.hex and Boot_XIP.elf are mentioned but only Boot_XIP.hex exists in STM32Cube_FW_H7RS_V1.1.0\Projects\NUCLEO-H7S3L8\Templates\Template_XIP\Binary ) . And move it to the bottom
- I add the MX25UW25645G_STM32H7R38-NUCLEO.stldr as external loader
After starting the debugging, the code gets stuck at USB_CoreReset() while waiting for the USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST to clear.
Possible Fixes
- An other Thread recomends setting __HAL_RCC_SYSCFG_CLK_ENABLE(); in HAL_PCD_MspInit() but this macro does not exist in the stm32h7rsxx_hal_rcc.h
- Regenerating the code from the .ioc leads to many .LD-Files which lead to compilation errors (size overrunds)
I would really appreciate if someone could help me out.
