# Getting Memory write error on PYNQ-Z2

**URL:** <https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604>\
**Category:** Support\
**Created:** [January 27, 2022, 2:32am UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604 "2022-01-27T02:32:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandip822000](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandip822000](https://discuss.pynq.io/u/sandip822000)\
**Post date:** [January 27, 2022, 2:32am UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604/1 "2022-01-27T02:32:15Z")

</div>

I am using PYNQ-Z2, getting memory write error. Program is simple hello word.  
I tried to create my own bitstream instead of using SDCARD image.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/1/1230137b39501087e4caeed2c4496f80da85187d.png)

---

<div class="post-metadata">

**Author:** ![stf](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/stf/32/2724_2.png) [@stf](https://discuss.pynq.io/u/stf)\
**Post date:** [January 27, 2022, 1:22pm UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604/2 "2022-01-27T13:22:10Z")

</div>

Hi there,

It looks like you might be trying to configure the programmable logic and processing system via JTAG. The standard PYNQ flow is to generate a bitstream file and a HWH file and load this onto the device using the overlay python class.

[https://pynq.readthedocs.io/en/latest/pynq\_overlays/loading\_an\_overlay.html](https://pynq.readthedocs.io/en/latest/pynq_overlays/loading_an_overlay.html)

The error that you see looks like there might be an illegal AXI transaction. Can you talk me through how you’re trying to configure the system?

All the best,  
Shane

---

<div class="post-metadata">

**Author:** ![sandip822000](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandip822000](https://discuss.pynq.io/u/sandip822000)\
**Post date:** [January 28, 2022, 2:07am UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604/3 "2022-01-28T02:07:53Z")

</div>

Hi Shane,  
I am using pynq board , but not the python code. I just want to try this board as anyother xilinx board. so I created a simple bitstream including just a PS.  
and launch VITIS IDE from vivado, and created hello\_World application. and tried to program the board using Jtag/usb. I got error mentioned in previous mail.  
Thanks and Regards  
Sandeep

---

<div class="post-metadata">

**Author:** ![cathalmccabe](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/cathalmccabe/32/3348_2.png) [@cathalmccabe](https://discuss.pynq.io/u/cathalmccabe)\
**Post date:** [January 28, 2022, 7:56am UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604/4 "2022-01-28T07:56:36Z")

</div>

This isn’t related to PYNQ. You would be better searching for answers on the Xilinx forums or other forums. Search for the error message. You should be able to find a few references.

Cathal

---

<div class="post-metadata">

**Author:** ![Francisco\_Zurita\_Jua](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/francisco_zurita_jua/32/7039_2.png) [@Francisco\_Zurita\_Jua](https://discuss.pynq.io/u/Francisco_Zurita_Jua)\
**Post date:** [May 26, 2025, 12:05pm UTC](https://discuss.pynq.io/t/getting-memory-write-error-on-pynq-z2/3604/5 "2025-05-26T12:05:47Z")

</div>

Hi, did you manage to find a solution to the 0xF0000021 error? I’m getting the same issue.
