-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Programming of QSPI-flash (connected to arbitrary GPIO-pins of a MAX10 device) with openFPGALoader / spiOverJtag #435
Comments
Thanks!
In fact you can use the logic and remove spi flash module to directly connect SPI signals to your flash with a constraints file correctly configured. openFPGALoader know how to deal with FPGA logic but have no idea about module required to access SPI flash on cyclone devices. MAX10 is a work in progress. Unfortunately there is no docs on how to program device (or flash it) this is why currently it's required to use an svf file. |
Thanks for your reply. I was thinking of creating a new variant of "altera_spiOverJtag.v" (=> "max10_spiOverJtag" ?), which uses "virtual jtag" on one side and "altera_parallel_flash_loader" on the other side. [Parallel Flash Loader IP UG] As mentioned before "altserial_flash_loader" is not appropriate for MAX10, because of the missing "ASMI hard logic" in MAX10 devices. Steps required: 1) Generate a new bridge image "max10_spiOverJtag" (svf - not rbf!)
2) Load/program "max10_spiOverJtag" to MAX10-device
3) Write/program QSPI-Flash (with arbitrary data)
Something similar is done here (using the Quartus Programmer): One question is whether openFPGALoader is already compatible to "altera_parallel_flash_loader" (regarding SPI/QSPI-flash programming - and NOT regarding the "Autoload-bridge to MAX10" functionality), as it certainly is for "altserial_flash_loader"? Please let me know what you think about that. Thanks again! |
Hello,
first of all : Thank you for this great project! Good learning stuff, a very useful tool ... and fun :-)
Goal :
My goal is to use openFPGALoader for programming a QSPI-flash (connected to arbitrary GPIO-pins of a MAX10 device) via "spiOverJtag"-bride!
Things found out (so far...) :
(please correct if wrong or misunderstood!)
a) openFPGALoader supports this feature for Cyclone (IV, V, 10 ...) families
b) MAX10 devices don't have an "ASMI hard logic block"!
c) "spiOverJtag"-bride (based on "altera_parallel_flash_loader") needs to be generated for MAX10 devices:
Questions :
Let's suppose the MAX10 is already programmed/running a "spiOverJtag"-bridge (based on "altera_parallel_flash_loader"):
(Further/Next step would/could be to integrate the new bridge into openFPGALoader to load it temporarily into MAX10-SRAM before programming the QSPI-flash...)
Notes :
Thanks in advance for your help/comments/hints
The text was updated successfully, but these errors were encountered: