cancel
Showing results for 
Search instead for 
Did you mean: 

usb data

GauravK
Senior

Hello,

I have configured usb hs as msc, this is with uSD card. 

Drive for card is appearing and add/ copy files to card via drive also works.

but recently when I added files with more than 500 lines (in csv), I see data is shifted, some corruption is happening.

please suggest any settings or steps to avoid this. 

3 REPLIES 3
Imen.D
ST Employee

Hello @GauravK ,

Did you try and test different SD cards to see if the issue persists.

Try increase the buffer size to reduce the effect of the overhead by the SD card.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Pl can I know parameter/ setting to be changed. Is it?

MSC_MEDIA_PACKET (Media I/O buffer Size) currently set to 512

Doing ths I got issue of watchdog reset when USB is connected...should MAX_SS be changed in SD card too?