12-22-2020 04:45 PM
Hello,
My current project implements an AXI DMA in scatter-gather mode to transfer data between the Zynq processing system and a custom IP block. I'd like to be able to transfer the maximum of 64 MB at once, so I increased the DMA buffer length width to 26 bits, and increased memory allocation for the TX and RX buffers/BDs (I'm using the example code xaxidma_example_sg_poll.c). However, it seems the maximum amount of data I'm able to transfer at once is 1 MB; if I increase the DMA packet size beyond that the software simply crashes. Besides memory allocation, which I believe I have done correctly, I'm not sure what else could be causing this issue. Any ideas on what might be going wrong?
01-04-2021 07:34 AM
Hi @jacob15p
If you change TX_BUFFER and RX_BUFFER to reserve 64MB, it probably will work.
Thank you.
Don't forget to Reply, Kudo, and Accept as Solution.
01-04-2021 07:34 AM
Hi @jacob15p
If you change TX_BUFFER and RX_BUFFER to reserve 64MB, it probably will work.
Thank you.
Don't forget to Reply, Kudo, and Accept as Solution.
01-07-2021 04:32 PM
That fixed it! Thanks for the help