2015-09-30 03:30 AM
In the file ''usbh_msc.c'' generated for STM32F407/427 there is typo in line 446:
446 if((phost->Timer - MSC_Handle->timer) > 10000)447 {448 MSC_Handle->unit[MSC_Handle->current_lun].state = MSC_TEST_UNIT_READY;449 break;450 } This condition makes sense if it is < instead of > because of timeout nature of it.In the case of ''<'' this code does not connect MSC device correctly and returns debug messages like this:Sense Key : 6<LF>Additional Sense Code : 28<LF>Additional Sense Code Qualifier: 0<LF>Which means according tohttps://en.wikipedia.org/wiki/Key_Code_Qualifier
that device is in ''Unit Attention'' condition and is in process of not-ready to ready transition.
Does any one meets such issue?What should I do to report this bug to CubeMX developers team?
#usbhost #usb #bug #stm32cube2015-09-30 10:24 AM
2015-10-02 05:33 AM
Thanks, thomas.004.
I get it.