[Bug] CubeMX generated USB Host file for MSC has typo
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-30 3:30 AM
Posted on September 30, 2015 at 12:30
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 #stm32cube
Labels:
- Labels:
-
Bug-report
-
STM32Cube MCU Packages
-
USB
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-30 10:24 AM
Posted on September 30, 2015 at 19:24 this is fixed in FW_F4_V1.8.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-02 5:33 AM
Posted on October 02, 2015 at 14:33
Thanks, thomas.004.
I get it.