cancel
Showing results for 
Search instead for 
Did you mean: 

USBMSD not working on STEVAL-STLCS01V1

JDecl
Associate

Hi,

I am currently working with a STEVAL-STLCS01V1 (SensorTile) board for a project. One of the functionalities that I have to implement is the possibility to use the module as a Mass Storage Device (with an SD card). While CDC works fine, MSD does not. Although the SensorTile does show up among the USB devices in the system overview on my MacBook, It does not show up as a removable drive, meaning I cannot read the data stored on the SD card.

After debugging I found that the "Init" and "GetCapacity" functions in the "usbd_storage.c" work like they should. In the "read" function, blocks of 512Byte are read, like expected, but unfortunately the device does not show up as a removable drive.

Would there be an example project for the SensorTile ​available somewhere? This could probably help me find the problem in my code.

Best regards,

Jaimy

1 REPLY 1
dbgarasiya
Senior II

you just have to configure sd card well & make some changes in usb_storage file it will show drive automatically

you don't have to change anything in main file .

Best of luck