UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor shekhar_sk6
Visitor
279 Views
Registered: ‎12-04-2018

Zynq 7000 PS QSPI flash size

we have maintained two same flash of size [16MB] “MT25QL128ABA1EW9-0SIT” with Zynq PS side.

But still now we are facing below issues.

  • In Vivado, when we flash by giving option as x8 Dual parallel, application is not booting [Refer attachment ]
    • When flashed by giving x4 single and 16MB, application is booting.
  • In U-boot, when we write 32bit data using “sf write” and read back using “sf read”, odd bits of data are missing at 0x0 and 0x100000 [16MB offset]
    • When re-boot, application is not booting.

Please provide your opinion.

0 Kudos
8 Replies
Moderator
Moderator
253 Views
Registered: ‎03-19-2014

Re: Zynq 7000 PS QSPI flash size

I did not see an attachment.    How is your QSPI configured in Vivado?  It sounds like your QSPI controller is not configured as dual QSPI parallel.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor shekhar_sk6
Visitor
226 Views
Registered: ‎12-04-2018

Re: Zynq 7000 PS QSPI flash size

Dear Glena,

Please find the attachment.

We have configured QSPI controller as dual parallel 8 bit. 

16MB_flash.jpg
0 Kudos
Moderator
Moderator
217 Views
Registered: ‎03-19-2014

Re: Zynq 7000 PS QSPI flash size

Is your schematic connected as shown in Figure 12-6 of UG585?   What is the clock of your QSPI controller (refer to AR68656, QSPI clocking is the same for Zynq 7000 and Zynq US+) ?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor shekhar_sk6
Visitor
214 Views
Registered: ‎12-04-2018

Re: Zynq 7000 PS QSPI flash size

Please find the attached SCH.

The first flash works properly when programmed through Vivado in x4 bit mode and also when reading through XMD. 

But how to program the second flash through Vivado, because when set to x8 parallel mode and program the flash, the first flash gets overwritten and doesn't boot up also.

 

zy_qspi.PNG
0 Kudos
Moderator
Moderator
206 Views
Registered: ‎03-19-2014

Re: Zynq 7000 PS QSPI flash size

Something must not be quite right in your design.   Compare it to the ZC706, which is also dual-parallel QSPI.   When programming in dual parallel, both QSPI devices are programmed at the same time and in a different format than single x4.   

 

You can try the baremetal example xqspips_dual_flash_lqspi_example.c.  The baremetal example is located here C:\Xilinx\SDK\<sdk version>\data\embeddedsw\XilinxProcessorIPLib\drivers\qspips_v3_4\examples 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor shekhar_sk6
Visitor
198 Views
Registered: ‎12-04-2018

Re: Zynq 7000 PS QSPI flash size

Dear Glena,

 

We have done the SCH as per ZC706.

We have used two chips "MT25QL128ABA1EW9-0SIT" 16MB size each. 

Below are our queries

1] When flashed boot.bin from Vivado using x8 Parallel option and selecting either 32MB chip or 16MB chip, Zynq is not booting in either of the chip size case.

   a] Do we need to take care of any other considerations?

2] Any reset considerations need to be taken care for two 16MB chips used together?

0 Kudos
Visitor shekhar_sk6
Visitor
180 Views
Registered: ‎12-04-2018

Re: Zynq 7000 PS QSPI flash size

Dear Glena,

Please reply ASAP..
0 Kudos
Moderator
Moderator
168 Views
Registered: ‎03-19-2014

Re: Zynq 7000 PS QSPI flash size

What version tools are you using?   Have you tried to program the QSPI from SDK?   Have you run the bare metal QSPI test?  Did that pass in dual parallel?  Have you looked at the QSPI CS with a scope?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos