03-21-2017 01:35 AM
I have a xc7z010_1clg225 custom board based on Zynqberry. But i have a problem. My kernel log in attached.
My custom board work well all usb device (mouse , hub, usb-uart converter ... ) except usb mass storage. I have debug it in u-boot, i see that if command which send to usb mass storage with length = 512 status return error( status phase of bulk transport run into ">PHASE" case). Get max lun command return wrong valid.
I guessed that my problem is in pcb layout. In my design zynq in SOM board and USB3320 in extention board. Trace length with them is > 60mil.
I need recomended guides about pcb layout for ULPI pin of ZYNQ.
Thanks very much.
08-26-2019 05:10 AM
We had the same issue on our custom board. Funny enough we have the Zynqberry here too.
After some time and intense debugging sessions we found, that the PS_DDR_DM[0...3]_502 on the DDR chips are not wired correctly. There had been LDM and UDM swapped and therefore causing problems on anything that goes below 8 bytes and stored in the RAM. That goes for both of our two DDR chips on the PCB.
Tracelength was not a problem after all on our system as the signal are quite beautiful to see on the scope. @kieucua1503 maybe you have swapped LDM and UDM on your DDR chips too.
Happy to share
03-04-2020 05:06 AM
Hi tmaintz, I'm kieucua1503, Cua Kieu is my soon name.
Thanks you very much, can you tell me more about why swap DDR signal can be affect to USB?
My Linux OS work well. Even, USB port connected to LAN9514 like ZynqBerry, usb to ethernet worked well, excepted usb mass storage.
I see in my schematic. UDM and LDM not swapped, but DQ[0..15] is swapped outside byte land, like bellow attached.
Can you have any advertise for me?
Thanks you and best regards,
03-04-2020 05:37 AM
03-04-2020 05:45 PM
We will remake schematic and PCB with remove swap. My custom board only differently compared to reference design in DQx swap. My custom board based-on Zynq 7020 and 7045 work well at all, which no swap DQx pin. Maybe that is my problem.
Thanks you, when i finished, i will announce for you.