We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Observer ykota
Registered: ‎01-05-2017

program bitstream to PL - flash memory in petalinux

Hi All,


We are using petalinux on a microzed board. We have a custom design where in the SPI flash is connected to PL. An AXI bus is instantiated for communication with PS. The flash stores bit stream which is used to program daughter FPGAs.


I need to be able to write/read the bitstream from PS on the Flash memory connected to PL.


What is the correct way to go about this?


PS: I found this http://www.wiki.xilinx.com/Zynq+QSPI+Driver. But I am unsure of the correct steps to get this to working.



0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
Registered: ‎07-23-2012

Re: program bitstream to PL - flash memory in petalinux

You can do this in two ways-

1. Configure the ports of PS QSPI controller to EMIO pins and connect these ports to the flash via PL. In this case, you can make use of the application that you mentioned.

2. If you are using PS QSPI controller for booting SoC, then you should instantiate AXI Quad SPI IP in PL section and then interface S_AX(_LITE (or S_AXI depending on the state of "Enable Performance Mode") to S_AXI_GP of Zynq and the data/clock ports of the IP to the flash.

Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.
0 Kudos