2017-03-01 01:17 PM
Everybody,
How to use USB as Mass Storage Class ?
This question is related with SDIO I had done intiating,
Which configuration file do I need to change ?
I can see drive E on my computer now, but can not read the content yet,
Anyone knows ?
Thanks
2017-03-01 03:46 PM
As per FatFs, the SDIO layer must present coherent data from the media.
https://community.st.com/0D50X00009XkZvxSAF
2017-03-02 02:21 AM
I got SDIO and FATFs running, then put USB as MSC on STM32CubeMX, what
else do I need to connect them ?
2017-03-02 05:30 AM
Is it related with this function ? SD Init must be here ?
2017-03-02 05:59 AM
In the first order the GET CAPACITY and READ functionality of the MSC are critical to Windows successfully mounting the media.
2017-03-02 06:22 AM
How can I do that ? Please give a clue ? thanks
2017-03-02 06:24 AM
6.2 Mass storage class
6.2.1 Mass storage class implementation
UM1734 page 32, how to implement that with STM32CubeMX ??
2017-03-02 02:26 PM
Can I call like this in usbd_storage_if.c ?
Any ideas ?
&sharpinclude 'bsp_driver_sd.h'
/*******************************************************************************
Function Name : STORAGE_Init_FS
Description :
Input : None.
Output : None.
Return : None.
*******************************************************************************/
int8_t STORAGE_Init_FS (uint8_t lun)
{
/* USER CODE BEGIN 2 */
BSP_SD_Init();
return (USBD_OK);
/* USER CODE END 2 */
}
2017-03-02 03:02 PM
Aren't them some examples you can analyze? I really can't hold your hand doing USB/HAL related stuff, I don't learn stuff by asking millions of question, I review available information/examples from all available sources.
STM32Cube_FW_F1_V1.3.0\Projects\STM3210C_EVAL\Applications\USB_Device\MSC_Standalone\Src\usbd_storage.c
2017-03-02 03:10 PM
This one :
STM32Cube\Repository\STM32Cube_FW_F1_V1.4.0\Projects\STM3210E_EVAL\Applications\USB_Device\MSC_Standalone