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.

Linux/AM3352: AM335x USB 2.0 COMPLIACE TEST PATTERN GENERATION

Part Number: AM3352

Tool/software: Linux

We are in process of USB compliance testing, for which we have to generate standard test pattern on the USB host interface in order to analyze the output waveform.

 

We tried to generate test patterns as described in link “http://processors.wiki.ti.com/index.php/UsbgeneralpageLinuxCore#musb_driver_debugfs”, but we facing following issues:

 

  • Test_J, Test_K :

Commands #echo "test K" > /sys/kernel/debug/musb-hdrc.X.auto/testmode & #echo "test J" > /sys/kernel/debug/musb-hdrc.X.auto/testmode & are observed to be working fine.

  • TEST_PACKET:

After executing command #echo "test packet" > /sys/kernel/debug/musb-hdrc.X.auto/testmode, no test packets are observed to be generated on USB0/USB1. Occasionally we have observed the USB packets on USB0 when no load is connected. What are we missing here? Do we need to follow any other procedure to see the generation of test packets?

  • TEST_SE0_NAK:

After executing command #echo "test SE0 NAK" > /sys/kernel/debug/musb-hdrc.X.auto/testmode, there is no activity observed on USB. How shall we test this? What are we missing here.

 

We are using 3.12.10 kernel.