[WIP, untested] add some flash script stubs

This commit is contained in:
2017-12-12 10:25:36 +00:00
parent ef2a21f6ed
commit f19999c512
2 changed files with 14 additions and 0 deletions

9
flash.cmd Normal file
View File

@@ -0,0 +1,9 @@
setMode -bscan
setCable -p auto
# setCableSpeed -speed 6000000
# addDevice -p 1 -file build/pdq_3ch.bit
readIdCode -p 1
# attachFlash -p 1 -spi AT45DB161D
# assignfiletoattachedflash -p 1 -file build/pdq_3ch.mcs
# program -e -v -p 1 -dataWidth 1 -spionly -loadfpga
quit

5
flash.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
source /opt/Xilinx/14.7/ISE_DS/settings64.sh
XIL_IMPACT_USE_LIBUSB=1 impact -batch flash.cmd