I'm trying to use the USB OTG (HS) of my Olimex STM32P407 board but calling usbStart(&USBD2, &myconf) never returns.
In otg_core_reset() (ChibiOS/os/hal/platforms/STM32/OTGv1/usb_lld.c, line 137), the core reset loop never ends:
Code: Select all
while ((otgp->GRSTCTL & GRSTCTL_CSRST) != 0)
Any idea?
(to be noted that I've modified the board to use SDIO instead of the SPI for the SDCard, but it doesn't seem to conflict with the USB OTG HS stuff)