program-avalon 406 B

1234567
  1. #!/bin/sh
  2. #mini-jtag load xc6slx16-2-ftg256.bscan_s6_spi_isf_ext.bit && sleep 1 && xc3sprog -c qi -v -I fpga_controller_2013-05-02-D.bit
  3. xc3sprog -c qi xc6slx16-2-ftg256.bscan_s6_spi_isf_ext.bit && sleep 1 && xc3sprog -c qi -v -I fpga_controller_2013-05-02-D.bit
  4. xc3sprog -c qi -v -I file.bin:R:0:bin
  5. dd if=file.bin bs=68 skip=1 of=file2.bin
  6. xc3sprog -c qi -v -I file2.bin:w:0:bin
  7. rm -f file.bin file2.bin