CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

USB Host driver does not work with Sandisk

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Jun



Joined: 15 Sep 2014
Posts: 4
Location: Melbourne, Australia

View user's profile Send private message

USB Host driver does not work with Sandisk
PostPosted: Mon Sep 15, 2014 4:37 pm     Reply with quote

hi, I am working on USB host driver now. I got it work for most of the USB device I have on hand except the Sandisk which is the most popular brand.

During the enumeration, all device including the Sandisk USB stick response to the "get device descriptor" request . After that, the host assigns an address for the device, then send the "get device descriptor" request again. All other device still response but not the Sandisk.

anyone had the same problem before? or any suggestion?

Thanks a lot!!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19381

View user's profile Send private message

PostPosted: Tue Sep 16, 2014 12:38 am     Reply with quote

Have you tried some other (older) Sandisk cards?.

There were huge problems with faulty Sandisk SD's on the Galaxy S3 and S4's a couple of years ago, there are also a very large number of 'forged' Sandisk cards on the market. Recently there has been another problem with genuine cards being faulty in the larger sizes.

Are you running SD, or SDHC?. Have you looked at what is needed to support the latter?.
Jun



Joined: 15 Sep 2014
Posts: 4
Location: Melbourne, Australia

View user's profile Send private message

PostPosted: Tue Sep 16, 2014 12:53 am     Reply with quote

Thanks, Ttelmah
It is actually not a SD card. But an USB stick.
I am using the SanDisk Cruzer Switch USB stick.
Ttelmah



Joined: 11 Mar 2010
Posts: 19381

View user's profile Send private message

PostPosted: Tue Sep 16, 2014 2:44 am     Reply with quote

Have a look at this:

<http://www.microchip.com/forums/m707827.aspx>

Note the reformatting needed to bypass the security.
Jun



Joined: 15 Sep 2014
Posts: 4
Location: Melbourne, Australia

View user's profile Send private message

PostPosted: Tue Sep 16, 2014 5:27 pm     Reply with quote

Thank you very very much!!! Ttelmah

I guess all I can do now, it is put that in our document to tell our customer do the format before using it. Although I know they will never read the instruction! Laughing
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group