# RuntimeError:"DMA does not support unaligned transfers"

**URL:** <https://discuss.pynq.io/t/runtimeerror-dma-does-not-support-unaligned-transfers/4977>\
**Category:** Support\
**Created:** [November 30, 2022, 12:03pm UTC](https://discuss.pynq.io/t/runtimeerror-dma-does-not-support-unaligned-transfers/4977 "2022-11-30T12:03:19Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [November 30, 2022, 4:01pm UTC](https://discuss.pynq.io/t/runtimeerror-dma-does-not-support-unaligned-transfers/4977/10 "2022-11-30T16:01:24Z")

</div>

@nirsap

Well if you are sure u need unaligned transfer which the block in between alignment is not given:  
According to this post:

> [@RuntimeError: DMA does not support unaligned transfers; Starting address must be aligned to 6 bytes](https://discuss.pynq.io/t/runtimeerror-dma-does-not-support-unaligned-transfers-starting-address-must-be-aligned-to-6-bytes/2329):
>
> I literally follow the DMA guide provided here: [https://pynq.readthedocs.io/en/v2.6.1/pynq\_libraries/dma.html#pynq-libraries-dma](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](https://pynq.readthedocs.io/en/v2.6.1/pynq_libraries/allocate.html) What should I do? Thanks for the help in advance.

Please make sure the allocate is correctly.

---

_[View the full topic](https://discuss.pynq.io/t/runtimeerror-dma-does-not-support-unaligned-transfers/4977)._
