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.

USB Device - Composite MSC/VCP & USB Host (MSC)

Other Parts Discussed in Thread: RM48L952

Hi,

Good evening. I am successfully coded for USB device(MSC, CDC(VCP)) & USB Host(MSC) using RM48L952.

When i am making composite device for VCP, MSC using Interface association descriptor both are enumerated and successfully detected by PC.


Using this composite device files copying and serial port data sent/received from hyper-terminal done successfully.

MSC Endpoints - 7 - In Endpoint

                             - 8 -Out Endpoint

VCP Endpoints - 3 - In Endpoint

                            - 4 - Out Endpoint

But after some time serial port/MSC drive not responding to user.

Observed in USB analyzer both 3, 7 endpoints not responding properly.

I am using Data put, Data send functions for sending data.

Kindly suggest on this issue.

Regards,

Narasimha

Kindly suggest

  • Narasimha,

    To start with it might be good to understand where your starting point is.   Are you using an OS & if so which OS & Version.  If not, then where are you starting from w. respect to the USB Host and Device drivers?

    From the description above it could be many different issues - and even something not related to the USB port.

    If you halt the device, what is the state of the program.  Has it stopped on any exception for example?   What is the value of the CPSR register of the core?  (assuming you are not catching it in an ISR... but in say the idle loop of the OS...)  

    If you are using an OS do you have any indication that the OS is still running? (tick counter interrupt, some sort of heartbeat, etc.? )

    What does the USB device register frame (0xFCF78Axx) indicate?  Are there any status registers that indicate something anomolous.

    Need to get this sort of picture before we can really advise on what to look at next.