Jump to content
  • 0

Command line program flash on the Basys3 ?


Bob_at_DPI

Question

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

  • 0

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 by artvvb
Link to comment
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
×
×
  • Create New...