2014-09-04 02:02 AM
I download STM32CubeF4 from
http://www.st.com/web/en/catalog/tools/PF259243
. There is an example of MSC in\STM32Cube_FW_F4_V1.3.0\Projects\STM324xG_EVAL\Applications\USB_Device\MSC_Standalone\MDK-ARM.
If I build and download this example with USE_USB_FS definition, antivirus will start checking new disk. But Windows Explorer will not show new disk.If I delete the body of int8_t STORAGE_IsReady(uint8_t lun) from usbd_storage.c and make it return zero, then Windows Explorer will show new disk, but can not oepn it, so it doesn't work as mass storage device.How make internal FLASH as MSC using this example? #msc #usb2014-09-04 06:35 AM
Hi de.ab,
Concerning the STM32Cube_FW_F4_V1.3.0\Projects\STM324xG_EVAL\Applications\USB_Device\MSC_Standalone\MDK-ARM project, please ensure that jumpers JP16 and JP22 are in position 1-2 and Keep us informed about your finding.Unfortunately there no available application based on STM32Cube solution making internal flash as MSC device, but you can find an a StdLib based application on STM32F103 where the media storage device is not a uSD,Hope that can help you.Regards.2014-09-04 06:51 AM
The flash sectors on the F2/F4 are impractically large and slow for them to be used in anything other than a read-only (CD/DVD, write protected FD/HD) application.