RuntimeError: DMA does not support unaligned transfers; Starting address must be aligned to 6 bytes

I literally follow the DMA guide provided here:
https://pynq.readthedocs.io/en/v2.6.1/pynq_libraries/dma.html#pynq-libraries-dma

I suspect that I must do something to align the memory address?? But there is nothing in the documentation of Allocate that allows user to align memory:
https://pynq.readthedocs.io/en/v2.6.1/pynq_libraries/allocate.html

What should I do?

Thanks for the help in advance.

1 Like

Did you create your own overlay? I created my own with the DMA controller and I think I received the same error the first. I double clicked on the DMA block and checked the box allowing unaligned transfers and it worked for me. I hope this helps

1 Like

Thank you, your solution works. For me, I had to unchecked the gather/scatter option within the DMA and after regenerating the bitstream, hwh and tcl, it works.