Closed tvlad1234 closed 9 months ago
Yes, it's easy to.
I have 2 rules in my Makefile: upload
is to load the bitstream over JTAG, and flash
is to program the bitstream into the spi flash.
upload: top.bit
openfpgaloader --vid 0x0403 --pid 0x6014 top.bit
flash: top.bit
openfpgaloader --vid 0x0403 --pid 0x6014 --unprotect-flash --write-flash top.bit
You'll obviously have to change the vid and pid to whichever device you're using.
I have a V6 board, but I don't see why it wouldn't work on a later version.
I've just tried it, can confirm that it works!
I just got my 5A-75B V8.2 and successfully swapped the output drivers on the right side of the board. I am able to generate bitstreams from VHDL designs and configure the FPGA over JTAG, with a CMSIS-DAP probe. My question is, is it possible to write custom bitstreams to the SPI flash and have it configure the FPGA on powerup?