Part Number: AM625
How to enter USB test mode for eye diagram test on PSDK 8.3.0.19?
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.
Part Number: AM625
How to enter USB test mode for eye diagram test on PSDK 8.3.0.19?
Hi Tony,
For USB0 in host mode, run the following commands to trigger test packets:
devmem2 0x31000420 w 0xA0 devmem2 0x31000020 w 0x4 devmem2 0x31000424 w 0x40000000
For USB1 in host mode, run the following commands to trigger test packets (base address is different):
devmem2 0x31100420 w 0xA0 devmem2 0x31100020 w 0x4 devmem2 0x31100424 w 0x40000000
For USB0 in device mode, run the following command to trigger test packets:
echo "test_packet" > /sys/kernel/debug/usb/31000000.usb/testmode
For USB1 in device mode, run the following command to trigger test packets (base address is different):
echo "test_packet" > /sys/kernel/debug/usb/31100000.usb/testmode