Skip to main content
dbgarasiya
Senior
Solved

Problem in usb mass storage device

Hello ,

I have to implement USB mass storage device im my current project

I have done some configuration and generate code

but it seem have some problem

1)usb mass storage device is showon in device manager

2)In my computer also show that drive is connected

but problem is that inspite of opening drive it always asks to format drive

i have attached screenshots of errors with this post.

Thanks

Dipak Garasiya

This topic has been closed for replies.
dbgarasiya
dbgarasiyaBest answer
Senior

if someone has problem , i will guide you

dipak garasiya

5 replies

dbgarasiya
Senior

i have sort out this problem

Best Regards

Dipak Garasiya

dbgarasiya
dbgarasiyaAuthorBest answer
Senior

if someone has problem , i will guide you

dipak garasiya

Robert.Ramon
Associate II

I'm having problems with the USB MSC which uses the SD card as an interface.
It takes about 10 seconds to be recognized, but normally it connects and is recognized, can you help me?
Here's my project:
The important part of my code is just in the path USB_DEVICE->App-> usbd_storage_if.c

dbgarasiya
Senior

follow and port accoring to your contoller

C:\Users\Graffin01\STM32Cube\Repository\STM32Cube_FW_F7_V1.15.0\Projects\STM32F769I-Discovery\Applications\USB_Device\MSC_Standalone

SNULU
Associate III

hi,

I have configured the same interface and it is working.

But I want to show the sd card as write protected. I don't want the files to be edited or deleted when connected to pc.

Can you please suggest a solution for this.