AnsweredAssumed Answered

MQX4.1-USB-MSD (RAM DISK) example is not working on tower kit

Question asked by Hardik Dave on Mar 29, 2015
Latest reply on May 14, 2015 by Daniel Chen

we are developing application which needs access to flash via USB mass storage. for that we are evaluating USB MSD RAM application provided with mqx 4.1 with TOWER kit K60.

 

USB mass storage RAM application is ported on tower kit without any modification. in normal case "FORMAT disk" popup comes on LAPTOP screen and format of disc is possible. but sometimes (1 out of 4 tries) it is observed that disk is not giving response to host ("FORMAT disk" popup doesn't come).

 

when I captured USB packet we found that device is not giving response to below USB bulk read query packet.

 

55 53 42 43 10 A0 15 12 00 00 01 00 80 00 0A 28   USBC. ......€..(

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ...............

 

I have also observed that in normal case USB gives proper response to "READ CAPACITY" command (REAPONSE 1).but in such case it gives improper response(RESPONSE 2)

 

55 53 42 43 D0 3B B5 06 08 00 00 00 80 00 0A 25   USBCÐ;µ.....€..%

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00      ...............

 

RESPONSE 1 -  00 00 00 3B 00 00 02 00                            ...;....

RESPONSE 2 -  00 00 00 00 D1 01 01 00                           ....Ñ... (after this response host issues above mention read(10) command and USB device is not able to answer it)

 

Am I missing something while porting USB stack?

 

Your valuable help is required.

 

Thanks in advance for support.

Outcomes