Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dma_test with external loopback #116

Open
vbuitvydas opened this issue May 29, 2023 · 1 comment
Open

dma_test with external loopback #116

vbuitvydas opened this issue May 29, 2023 · 1 comment

Comments

@vbuitvydas
Copy link

I am unable to run dma_test with external loopback option from litepcie_util:
./litepcie_util dma_test -w 32 -e
litepcie_util prints that 129 TX buffers are sent and zero RX buffers received but no data received at FPGA side and dma0_reader_axi_tvalid never gets asserted.

Other tests seems to be working, I have tried dma_test with internal loopback and it is working:
./litepcie_util dma_test -w 32

I am using:
litepcie sha - c332352
Dev board - Zynq UltraScale+ MPSoC ZCU106 Evaluation Kit

I have generated litepcie based on ac701.yml example and made these changes:
“phy”: “USPPCIEPHY”
“phy_device”: “xczu7ev”

On FPGA side I have connected AXIS data FIFO between dma0_reader and dma_writer ports to have external loopback.

Is there any options or modifications that I am missing? Thanks in advance for any help.

@enjoy-digital
Copy link
Owner

@vbuitvydas: Sorry for the delay, this is a configuration that is used by some users/clients. It could be worth testing with updated LiteX and provide us the exact steps/files to reproduce the issue. Have you also tested an approach similar to the integration done for the LitePCIe's bench or LiteX-Boards' targets? If working, this would indicate an issue with the litepcie_gen approach that we could try to understand/fix together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants