This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LCDKOMAPL138 USB mass storage device starterware Code

Other Parts Discussed in Thread: OMAPL138

Hello

I am working lcdkOMAPL138 and my requirement is I want to test USB_dev_msc driver from the starterware PDK for OMAPL138.

Using CCS studio I imported the USB_dev_Msc driver from OMAPL138_StarterWare_1_10_04_01/build/armv5/cgt_ccs/omapl138/lcdkOMAPL138

Connection between PC and LCDKOMAPL138 device is

1.I have connected Uart-USB port to serial terminal for Serial consol.

2.connected USB - OTG port to host PC

when I debug the code following log will come

======================================================================

usb-storage 1-7:1.0: USB Mass Storage device detected
[22940.604075] scsi host4: usb-storage 1-7:1.0
[22941.630393] scsi 4:0:0:0: Direct-Access     TI       Mass Storage     1.00 PQ: 0 ANSI: 0
[22941.631222] sd 4:0:0:0: [sdb] 32768 512-byte logical blocks: (16.8 MB/16.0 MiB)
[22941.631483] sd 4:0:0:0: Attached scsi generic sg1 type 0
[22941.631541] sd 4:0:0:0: [sdb] Write Protect is off
[22941.631543] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[22941.631859] sd 4:0:0:0: [sdb] No Caching mode page found
[22941.631868] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[22951.886154] usb 1-7: reset high-speed USB device number 99 using xhci_hcd
[22957.253922] usb 1-7: device descriptor read/64, error -110
[22972.861765] usb 1-7: device descriptor read/64, error -110
[22973.097798] usb 1-7: reset high-speed USB device number 99 using xhci_hcd
[22978.237687] usb 1-7: device descriptor read/64, error -110
 ============================================================================================================

It is detecting as a mass storage device(Sdb) but it is not showing in file system.

is this correct code or any modification is required please guide me

Thanks in advance

regards

Shubham