Forum Discussion
Hi VenT_Altera
- Could you attach the AXI MCDMA .ip file so we can review the parameter settings?
I will attach an archive with the whole subsystem we use
- Which design example variant and which driver did you use?
Unfortunately I don't remember what particular example design we used. We use our own driver for our device, but it does nothing with PCIe itself.
- Is the issue first observed in Q25.1, then in Q25.3.1? Did it work correctly prior to Q25.1?
There was no AXI MCDMA for PCIe before 25.1 version. At least it was the first version where we started to use this IP core.
- Are you using an Altera Dev Kit or a custom board?
We use Bittware IA-440i board
- Could you share the STP when the issue occurs?
Not at the moment, but we see no protocol errors there.
- Could you provide the exact steps to reproduce the issue?
One may just create an example design for BAS+BAM mode and then try to write 449 bytes to BAS. With the subsustem in attachments it should not take much time.
Hi Mikhail_a
Thank you for your reply.
Since you are using your own driver and application, to isolate whether the issue is software or hardware, please run our Example Design on your board. Port the Example Design to your platform and run the accompanying application. Follow the steps in the user guide to generate Example Design and run the application. https://docs.altera.com/r/docs/817911/25.3.1/axi-multichannel-dma-ip-for-pci-express-user-guide/functional-description?tocId=ak5zOaugZ0426etSxKRO0Q
You may generate the AXI-MM DMA Example Design and use the Custom or DPDK driver to perform the perfq_app or mcdma_test: AXI-MM DMA test. Please share your test results.
Also, could you share the design goal for your implementation? If MCDMA is not required, you might consider using BAM + BAS (user mode) to simplify the design.
Thanks.
Best Regards,
Ven
- VenT_Altera15 days ago
Frequent Contributor
Hi Mikhail_a
I understand that you observed the failure in Example Design as well. Let's focus on the Example Design. Please provide the log from the prerequisites setup to running the application and hit the errors. I'd like to see the exact commands and their output. Which driver (Custom or DPDK) and which AXI-MM DMA test did you perform (perfq_app or mcdma_test)? Please share the detailed steps in the log.
Thanks.
Best Regards,
Ven- Mikhail_a15 days ago
Occasional Contributor
Hi VenT_Altera
Unfortunately I can't provide you with that information as it was done by the other team.
- VenT_Altera2 days ago
Frequent Contributor
Hi Mikhail_a
May I know if you have any updates on my previous message?
Thanks.
Best Regards,
Ven
- VenT_Altera13 days ago
Frequent Contributor
Hi Mikhail_a
My understanding is that you ran the AXI-MM DMA Example Design application, either perfq_app or mcdma_test, using the provided driver, either Custom or DPDK. When running the application, you observed the failure: Writing 449 bytes to BAS, the host hang and subsequently reset.
See Table 57 in the user guide for the application and supported test: https://docs.altera.com/r/docs/817911/25.3.1/axi-multichannel-dma-ip-for-pci-express-user-guide/design-example-overview
To run the application of the Example Design, I believe your team has followed the prerequisites steps and commands provided in the user guide: https://docs.altera.com/r/docs/683517/25.3.1/multi-channel-dma-ip-for-pci-express-design-example-user-guide/running-the-design-example-application-on-a-hardware-setup
Hence, please provide the log covering the full sequence, from the prerequisites setup up to the point where the errors occur.
If my understanding is incorrect, please let me know.
Please be advised that I will be out of the office next entire week, beginning Feb 16, and returning on Feb 23. Please expect a delay in response.
Thanks.
Best Regards,
Ven