# How to use mmio

**URL:** <https://discuss.pynq.io/t/how-to-use-mmio/1974>\
**Category:** Support\
**Created:** [November 1, 2020, 3:27am UTC](https://discuss.pynq.io/t/how-to-use-mmio/1974 "2020-11-01T03:27:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllenChenChao](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AllenChenChao](https://discuss.pynq.io/u/AllenChenChao)\
**Post date:** [November 1, 2020, 3:27am UTC](https://discuss.pynq.io/t/how-to-use-mmio/1974/1 "2020-11-01T03:27:07Z")

</div>

![地址](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/4/4f84efc0ac131e4014b847290d1599b06b8ed521.png)  
I can;t use mmio in pynq,for AFinterface ，how could I read and write data to address 0x44A40000.  
I try to read and write to other address ,is works.But in our AFinterface,which locate at 0x44A40000,it can’t work.

---

<div class="post-metadata">

**Author:** ![rock](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/rock/32/32_2.png) [@rock](https://discuss.pynq.io/u/rock)\
**Post date:** [November 2, 2020, 5:31pm UTC](https://discuss.pynq.io/t/how-to-use-mmio/1974/2 "2020-11-02T17:31:26Z")

</div>

I wonder why you have put that segment into the iop\_arduino memory space. It should be in ps7 memory space.

---

<div class="post-metadata">

**Author:** ![AllenChenChao](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AllenChenChao](https://discuss.pynq.io/u/AllenChenChao)\
**Post date:** [November 3, 2020, 1:20pm UTC](https://discuss.pynq.io/t/how-to-use-mmio/1974/3 "2020-11-03T13:20:04Z")

</div>

I did it,I choose agin,it work!!!  
YES!!!We should connect the IP in ps directly.WEmust remember to change it when use auto connection in block design!!!
