09-05-2018 06:34 AM
Hello everyone
I developed a working VIVADO vhdl project for the PL part of a zynq-7000 based board (bora xpress board from dave). My application doesn't use the PS part of Zynq.
My board as a S25FL128S spi flash memory. Could you please indicate me the right procedure to load the bin or mcs file inside the flash memory? I tested the code using the volatile .bit, but now i need to store the file inside flash.
Thanks for any help
09-16-2018 10:14 PM
Hi @mauriziomontesi,
Please check below for boot mode pins setting.
Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
09-05-2018 07:05 AM
Hi @mauriziomontesi,
Please check this : https://wiki.trenz-electronic.de/display/TE0720/FPGA+design+without+PS
Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
09-05-2018 07:18 AM
Hi Savula thanks for reply. I need more details. I developped a vhdl project using Vivado. Do I need to add to my project a block diagram, istanciate the zynq processing system (even if not used), generate bitstrem, export to sdk and programming from SDK?I'm searching information but honestly I'm a bit confused, i used lots of Xilinx FPGA but never soc.
Thanks for any help
09-05-2018 08:23 AM
Hi @mauriziomontesi,
Yes, you need Zynq Instant even if you are not used the PS (because it should read the flash device and load the bit stream into PL). So as you mentioned please add a Zynq instant and generate the bit stream and export it SDK and create a FSBL and create a BOOT image with fsbl and bit stream then program the flash.
Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
09-07-2018 05:23 AM
Hi Srikanth, a last help:)
Could you please indicate me the procedure to create a FSBL and create a BOOT image?
I have instanciated zynq proc inside my vivado project (leaving it unconnected) and then exported to SDK. Now what I need to do? (I don't need to use PS, only the bin or mcs to program the spi flash)
Thanks a lot
Maurizio
09-07-2018 10:08 AM
I would start with UG1165. Your bif would only need to have the fsbl and bitstream.
09-09-2018 10:23 PM
Hi @mauriziomontesi,
Create a FSBL application project in SDK. Please see the below tutorial
To create BIN file please follow the below tutorial,
https://www.xilinx.com/html_docs/xilinx2018_2/SDK_Doc/SDK_tasks/task_creatingabootimage.html
in above tutorial instead of zynq_hello.elf give your bit file.
Program the BOOT.bin file in flash.
Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
09-13-2018 08:29 AM
Hi Srikanth thanks to your indication now I'm able to generate all files I need and program Flash. But FPGA fail to boot. I think it's a problem related to MODE0---MODE4 pin. What is the right MODE configuration to boot from QSPI?
Best regards
Maurizio
09-16-2018 10:14 PM
Hi @mauriziomontesi,
Please check below for boot mode pins setting.
Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
09-17-2018 12:59 AM
Hi Hi Srikanth, thanks a lot. Now I'm able to program and boot from QSPI flash.
Great support
Maurizio