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 TestMode testing fail

Dear Experts,

Env: DVRRDK3.5/DM8148/Custom Board

I use usb test mode commend to test usb eye diagram on usb0 and usb1 separately.

But I encounter the fail result on usb1.

Can anyone tell me any problem about this ?? Is tesing method or commands wrong ??

Please refer below test report and related commands.

1. USB0 Test Command :

#echo F > /proc/driver/musb_hdrc.0

#echo T > /proc/driver/musb_hdrc.0

#mount -t debugfs none /sys/kernel/debug/

#echo "test J" > /sys/kernel/debug/musb/testmode

System reboot,

#echo F > /proc/driver/musb_hdrc.0

#echo T > /proc/driver/musb_hdrc.0

#mount -t debugfs none /sys/kernel/debug/

#echo "test K" > /sys/kernel/debug/musb/testmode

===========================================

 2. USB1 Test Command :

#echo F > /proc/driver/musb_hdrc.1

#echo T > /proc/driver/musb_hdrc.1

#mount -t debugfs none /sys/kernel/debug/

#echo "test J" > /sys/kernel/debug/musb/testmode

System reboot,

#echo F > /proc/driver/musb_hdrc.1

#echo T > /proc/driver/musb_hdrc.1

#mount -t debugfs none /sys/kernel/debug/

#echo "test K" > /sys/kernel/debug/musb/testmode

HB

  • Hi HB,

    Somehow we found that there are two testmode for each USB

    /sys/kernel/debug/musb/testmode --> USB0
    /sys/kernel/debug/testmode --> USB1

    I verified that the USB test modes registers (0x4740140F for USB0 and 0x47401C0F for USB1) are changed accordingly.

     

    Regards,

    Anfernee