PSoC 3 USB - Mass Storage Device Class Support

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello All,

   

Is there currently support for the Mass Storage Device Class in PSoC Creator for PSoC 3? If not, is it possible to implement the interface without too much hassle? I'm assuming I would have to configure the endpoints and modify the service declaration in the enumeration process.

   

Thanks

0 Likes
2 Replies
Anonymous
Not applicable

Hello,

   

As of now, PSoC3 does not support Mass Storage. However it is quite possible to implement a Mass storage yourself. All you need to do is change the descriptor table in the file USBFS_descriptor.c file. Refer the document available here for Mass storage descriptors, http://www.usb.org/developers/devclass_docs/usbmassbulk_10.pdf . Once you have the right descriptors the device will enumerate as a Mass storage device. You can use the BULK endpoints to transfer data upstream and downstream, but the question is what is the size of data that you are going to transfer? Where will you store it ?

   

But once you edit the descriptors in the file, a clean and build might regenerate the USB component code. To Supress this you need set the parameter "Supress API generation" to TRUE. 

   

One thing

   

I hope this helps. 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Maybe, somebody is interested to try the new SGPIO components (found under the "Concepts"-tab) to attach an SATA-harddisk to build an USB-Harddrive. Is there anyone familar with the SATA-protocols?

   

That sounds like a quite useful application..

   

Bob 

0 Likes