[J-core] Avnet LX9 microboard support & programming?

Geoff Salmon gsalmon at se-instruments.com
Tue Aug 30 14:02:02 EDT 2016


On 16-08-30 01:19 PM, Rich Felker wrote:
> Unfortunately however I can't find any good way to write to the SPI
> flash without the Digilent sfutil which seems to be Windows-only. I
> was only able to boot the new bitstream by programming it directly
> onto the FPGA with the Digilent djtgcfg utility, which has to be done
> every time you boot. Anybody else have one of these boards and know
> how to write to the flash?

You can also use xilinx's impact tool connected to the microboard either 
with a jtag cable or through the microboard's USB-JTAG circuitry using a 
plugin from digilent 
(https://reference.digilentinc.com/reference/software/digilent-plugin-xilinx-tools/start).

I've previously been able to write the flash using impact with the 
digilent plugin using a file write_flash.cmd containing the following:

setMode -bs
setCable -target "digilent_plugin"
Identify -inferir
identifyMPM
attachflash -position 1 -spi "N25Q128"
assignfiletoattachedflash -position 1 -file "microboard9.mcs"
Program -p 1 -dataWidth 4 -spionly -e -v -loadfpga
quit

and then running "impact -batch write_flash.cmd" in a directory with 
containing both write_flash.cmd and microboard9.mcs.

- Geoff


More information about the J-core mailing list