Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 1 month ago.
issue with USB host on disco Board since mbed-os-5.6.0
Hi, i know that the USBHost feature is not officially supported yet so it may fail.
After some days of tracking this bug, i found that the commit that broke the ushhost feature for the board Disco-F429zi is e12f116ec1ef0851195f4b0a085497e2811f8a28 . This one adds deep sleep funcionality.
The weard thing is that for the Nucleo_f429zi works OK but not for the DISCO, this may be because of the Nucleo board use USB_OTG_FS and the Disco use USB_OTG_HS.
In summary, if you wants to use the USB_OTG_HS, is needed to remove the DEVICE_SLEEP from the defines. The mbed export -i uvision ... command set DEVICE_SLEEP=1 in the configuration of the project in keil. Set DEVICE_SLEEP=0 and it works again