Tool/software:
Dear champ,
Following by the original e2e thread, USB1 test mode is not working.
Customer reported these registers may not be corrected and they will found bus error when execute to devmem2 0x31210484 w 0x40000000.
I tried on AM67x EVM but there is a USB Hub on USB1 so it will re-emurate after set devmem2 0x31210480 w 0xA0
Besides, setting devmem2 0x31210484 w 0x40000000 will get this register become 0xF0000000 which cannot make USB1 enter test mode.
I check the register name and setting in register excel file and found the register bits are same as USB0 but still cannot make sure the registers are for USB1 or not.
Could you double confirm this?
RE: AM67: AM67x USB 2.0 test mode
The command which you have given is for USB0 port.(ie: below command)
devmem2 0x31000420 w 0xA0
devmem2 0x31000020 w 0x4
devmem2 0x31000424 w 0x40000000
For USB1 port , the commands will be :
devmem2 0x31210480 w 0xA0
devmem2 0x31210080 w 0x4
devmem2 0x31210484 w 0x40000000
BR, Rich