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.

AM3352: Inquiry about the way how to transmit continues USB test packets on host configuration

Part Number: AM3352


Hello Experts,

Our customer developed their system with AM3352, and they are using USB port as USB1.0 (Full speed) host controller. Customer has  a plan to do minor change for this system and they plan to use USB port as USB2.0 (High speed) host controller for the next generation. At first, since customer would like to check eye Diagram pattern, they’d like AM3352 to transmit continues test packets. Although customer tried to look into this method, they were not able to find it. Can we have your advice/comments on this inquiry, please?

Customer is using PROCESSOR-SDK-LINUX-AM335X  ver. 03_03_00_04

It will be really appreciated if you will share helpful URL/documents for this procedure.

Best regards,

Miyazaki

  • Hi Miyazaki-san,

    The Processor SDK v03_03_00_04 is very old and no longer supported, so I am unable to tell you the exact Linux command to transmit test packets, but the Processor SDK kernel DEBUGFS provides an entry "testmode" which can put the USB controller into TEST mode to transmit the test packets.

    Here is what you can do to figure out the procedure:

    - first check if the debugfs has been mounted in the filesystem. If not, mount it first. Assume it is mounted to /sys/kernel/debug;

    - then find the path of the testmode entry in kernel DEBUGFS using the following command:
      # find /sys/kernel/debug -name testmode

    - trigger test packets:
      # echo "test packet" > <the path to testmode found in the previous command>

    Please note this echo command can only run once until reset, it will trigger the USB controller transmit test packets continuously. Please power cycle the AM3352 board if you want to stop the test or re-run the test.

  • Hi Bin,

    Thank you for your comments on this inquiry.

    I shared your comments with our customer, I’d like to wait their feedback for a while.

    Best regards,

    Miyazaki

  • Hi Bin,

    I did not receive any comments at this time, so, I'd like to close this ticket.

    Thank you.

    Best regards,

    Miyazaki