stm32h745i disco board USB with M4 core hard fault
Hello All,
I have stm32h745I-disco board.
I want USB device as virtual comport.
I use cubeIDE and create project with it.
I am new on this dual core processors.
Thanks to the cubemx it is easy to create a basıc usb code.
When I create a usb_fs code with M7 core it works great.
After that I try to create with M4 core.It use same pins with M7 and cubemx generates code succesfully.
But when I debug the code it enters hardfault at m4 project stm32h7xx_it.c.
it stays in this handler for a while and after that enter hard fault handler.
* @brief This function handles USB On The Go FS global interrupt.
*/
void OTG_FS_IRQHandler(void)
{
/* USER CODE BEGIN OTG_FS_IRQn 0 */
/* USER CODE END OTG_FS_IRQn 0 */
HAL_PCD_IRQHandler(&hpcd_USB_OTG_FS);
/* USER CODE BEGIN OTG_FS_IRQn 1 */
/* USER CODE END OTG_FS_IRQn 1 */
}
here is the call stack .
Best regards.
EMRE
