stelian

Missing step in Microblaze SPI Flash guide

Recommended Posts

Hello,

I noticed a very important step that's missing in this guide: https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start

The Quad SPI Core has to be configured in Standard mode. It is configured in Quad mode by default, which causes the bootloader to fail to read the flash. This was frustrating because I'm not an advanced Vivado user and I had no idea how to troubleshoot this at first. I read something similar on a forum, so I reconfigured the SPI Core and it worked. I used a Nexys 4 DDR, if that's relevant.

My suggestion is to add this at the beginning of the guide.

 

Thank you.

 

Share this post


Link to post
Share on other sites

Hi @stelian,

Welcome to the forums. We have seen customers recently start using the standard mode in the QUAD SPI FLASH IP Core in conjunction with boards that do not have the DDR and uses cell ram like the Nexys 4 and Cmod A7.   If you are changing the mode to standard are you also constraining(XDC) the board with SPIx1.You can also compress your project(Inside of the Bitstream settings check the -bin_file box), set the speed to 33  and select spix1. Then comment out the #define VERBOSE in the srec_spi_bootloader application in the bootloader.c. Compressing the bitstream and commenting out Verbose should easily make up for using a slower transfer process.

cheers,

Jon

Share this post


Link to post
Share on other sites

We haven't been able to reproduce your issue.

We added a Quad SPI in Vivado block design 2017.4 and 2018.2 and the default is standard.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now