2015-08-26 09:23 PM
There are two problem:
1. At ST's page for STM32Cube_F4, the version shows ''1.8.0'', but after downloading, the version actually is ''STM32Cube_FW_F4_V1.7.0'', why? 2. In file ''STM32Cube_FW_F4_V1.7.0\Middlewares\ST\STM32_USB_Host_Library\Class\MSC\Src\usbh_msc.c'', line ''446'':
1.
if
((phost->Timer - MSC_Handle->timer) > 10000)
2.
{
3.
MSC_Handle->unit[MSC_Handle->current_lun].state = MSC_TEST_UNIT_READY;
4.
break
;
5.
}
The ''>'' should be ''<'' or ''<=''. Or some USB disks won't work at this version!!!!
2015-08-27 08:26 AM
Hi diverger,
1-STM32Cube_FW_F4_V1.8.0 is coming soon. Sorry for the inconvenience may bring. 2-The issue related to usbh_msc.c is a known bug, it will be corrected in the package STM32CubeF4 (V1.8.0). Already reported [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STMF327-DISCO%20and%20MSC_Standalone%20example%20don%27t%20work%20%28Bug%20in%20USBH%20MSC%20lib%20v3.2.1%29¤tviews=93]here. -Shahrzad-