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 detection Not Working when VBUS and ID pin not available in PTP package

Hi,

I am using RTFS with the BIOS USB package for USB msc audio playback on OMAPL1xx device and seeing some issues with USB device detection.

 HW condition:

USB memory stick connected to the USB0 on OMAPL137 EVM before pwer on.

There is an issue if USB memory stick is disconnected and re-connected run time.

 Here are my observations:

1) When tried with OMAPL137 (BGA package), if I load the executable via CCS, USB device gets detected.

2) When tried with OMAPL137 (BGA package), if I burn the executable on SPI flash and then boot then USB device gets detected

3)  When emulated TQFP version on the OMAPL137 EVM (here VBUS and ID pins are not avaiable within the USB0 module and hence OTG mode is set to "FORCE_HOST_MODE"), if I load the executable via CCS, USB device gets detected.

4)   When emulated TQFP version on the OMAPL137 EVM (here VBUS and ID pins are not avaiable within the USB0 module and hence OTG mode is set to "FORCE_HOST_MODE"),if I burn the executable on SPI flash and then boot then USB device *DOESN'T* get detected (No activity on USB BUS, checked using CATC analyser)

 5) Same condition as 4, but added a wait forever loop based on a flag setting in main function. After boot, connect CCS (no gel file) and get the wait forever loop come out by changing the value of the flag then also USB device *DOESN'T* get detected(No activity on USB BUS, checked using CATC analyser)

 

6) Same as 5, but added a wait forever loop based on a flag setting in main function. After boot, connect CCS (no gel file), load symbols via CCS and get the wait forever loop come out by changing the value of the flag then USB device *DOES* get detected

 Not able to understand what makes step 6) different from step 5) that makes the USB device get detected?

Do anyone have some idea what the issue could be?

Thanks in advance for your help,

Regards,

Meena