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.

RTOS/66AK2G12: USB: Unable to enumerate Mass Storage Devices

Part Number: 66AK2G12

Tool/software: TI-RTOS

Hi,

I am using pdk_k2g_1_0_6 and trying to run USB host application on the K2G board. One pen drive (16 GB Sandisk 3.0) works fine, but the other pen drive(same model but 32 GB) is not getting enumerated properly.

The sequence in the code is CONNECt event-> PORT RESET -> Enable Slot. The last command is not getting completed. I have observed the same behavior on another sandisk 2.0 pen drive(16GB). Can you suggest anything?

Thanks,

Krishna

  • Hi,

    Can you try with the latest Processor SDK RTOS 5.2 for K2G: pdk_k2g_1_0_12? The USB driver has many changes.

    Regards, Eric
  • Hi Eric,

    I have checked with latest pdk (pdk_k2g_1_0_12). Enumeration is successful but further it is failing in f_opendir() while trying to open the root directory("0:"). It is throwing error as "FR_NOT_ENABLED" . This macro means "The volume has no work area" according to the comments mentioned in FATFS driver.

    The pen drive I am using has FAT32 file system.

    Regards,

    Krishna

  • Hi,

    Thanks for trying with the latest PDK!

    >>>>>"FR_NOT_ENABLED">>>> What are the USB thumb drives you saw this issue? All of above mentioned or a particular one? You are running the USB_HostMsc_evmK2G_armExampleProject, correct?

    Regards, Eric
  • Hi Eric,

    Currently I am seeing this issue in one pen drive. I can confirm that the pen drive is proper as it gets detected on all other systems. The other pen drive which I have works as expected. I can arrange for more pen drives and see the behavior.

    Answering to your second question, yes I am using USB_HostMsc_evmK2G_armExampleProject.

    Regards,
    Krishna
  • Hi,

    Can you give a list of working and non-working USB drive based on the current test results, as we may not have the exact USB drive to test? We need find the right one to reproduce your issue?

    Regards, Eric
  • Hi Eric,

    As of now, I am facing this issue with sandisk 16 GB (2.0) cruzer blade pen drive. I will get back to you if I see this issue on any other pen drive.

    Regards,
    Krishna
  • Hi,

    >>>>sandisk 16 GB (2.0) cruzer blade pen drive>>>>

    Is this one www.amazon.com/.../B007KFAFZ8 I need buy it and to reproduce the issue?

    Regards, Eric
  • Hi Eric,

    Yes, I am also using that pen drive. Although I tested the USB driver with one more same pen drive and I found it to be working there.

    So, I have two pen drives of same model and both has FAT32 file system in it. One of them is working and one is not. Both of them works fine on other systems.

    Please let me know if you have any suggestions.

    Regards,

    Krishna

  • Hi,

    I tested USB_HostMsc_evmK2G_armExampleProject from pdk_k2g_1_0_12. I found a sandisk 8 GB (2.0) cruzer blade pen drive and didn't see any USB enumeration issue. I can R/W files on the USB pen.

    I also tried several other USB pens and discussed with USB developer who also tried several USB pens, we didn't find any enumeration issue. There is possibility that some USB pen doesn't meet the USB electric spec well and can't be enumerated, but some host devices may have better tolerance then our K2G board and still worked.

    Given you have the same USB pens, one worked and the other failed. My suggestion is to use the working one or other USB pens worked.

    Regards, Eric