#!/bin/bash BIN=./build_rando_a7/out/hp_lcd_driver.bit SPIBIT=../../openocd/bscan_spi/bscan_spi_xc7a35t.bit ../../openocd/prefix/bin/openocd -f interface/altera-usb-blaster.cfg -f cpld/xilinx-xc7.cfg -f cpld/jtagspi.cfg -c init -c "jtagspi_init xc7.pld ${SPIBIT}; jtagspi_program $BIN 0" -c shutdown