Bob_at_DPI Posted August 7, 2022 Share Posted August 7, 2022 I've built the Abacus demo project and flashed it to the board using the Vivado GUI. I'm on Linux (Ubuntu 2204) and have built a Makefile for the project. Entering 'make install' runs this command to load the .bit file to the FPGA: openFPGALoader -b arty_a7_35t Basys3_Abacus_Top.bit What is the equivalent Linux command to copy the .bit (or .bin) to the flash? Thanks! Link to comment Share on other sites More sharing options...
0 Bob_at_DPI Posted August 8, 2022 Author Share Posted August 8, 2022 Oops. Looks like openFPGALoader can do it with the command: openFPGALoader -b arty_a7_35t --write-flash Basys3_Abacus_Top.bit It gives an error but works. Link to comment Share on other sites More sharing options...
0 artvvb Posted August 8, 2022 Share Posted August 8, 2022 (edited) Presumably you're already using this or something similar to build the project, but you can also run Vivado in batch mode from the command line to source a tcl script to perform any task that you could do in the GUI. There's a script called "program_flash.tcl" in the "ZIP Download" of this demo project that ought to be able to be adapted to work with any non-zynq board: https://digilent.com/reference/test-and-measurement/analog-discovery-studio/cmod-s7-demo The command to call it would be something like `vivado -mode batch -source ./program_flash.tcl`. Edit: The script has some values hardcoded for the Cmod S7, including the FPGA and flash part numbers, so you would need to edit it to get it to work with the Basys 3. Thanks, Arthur Edited August 8, 2022 by artvvb Link to comment Share on other sites More sharing options...
Question
Bob_at_DPI
I've built the Abacus demo project and flashed it to the board using the Vivado GUI. I'm on Linux (Ubuntu 2204) and have built a Makefile for the project. Entering 'make install' runs this command to load the .bit file to the FPGA:
openFPGALoader -b arty_a7_35t Basys3_Abacus_Top.bit
What is the equivalent Linux command to copy the .bit (or .bin) to the flash?
Thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now