Dobrica Pavlinušić's random unstructured stuff
miniSpartan6: Revision 9
https://www.scarabhardware.com/product/minispartan6-with-spartan-6-lx-25/ https://github.com/scarabhardware/miniSpartan6-plus/blob/master/miniSpartan6%2B_Rev_B.pdf programmingapt-get install libusb-dev libftdi-dev dpavlin@nuc:/nuc/FPGA$ git svn clone -s https://svn.code.sf.net/p/xc3sprog/code/ xc3sprog dpavlin@nuc:/nuc/FPGA$ cd xc3sprog/ dpavlin@nuc:/nuc/FPGA/xc3sprog$ mkdir build dpavlin@nuc:/nuc/FPGA/xc3sprog$ cd build/ dpavlin@nuc:/nuc/FPGA/xc3sprog/build$ cmake .. xc3sproghttp://hamsterworks.co.nz/mediawiki/index.php/MiniSpartan6%2B_bringup dpavlin@nuc:/nuc/FPGA/xc3sprog/build$ ./xc3sprog -c ftdi XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 774 $ OS: Linux Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop Using Libftdi, JTAG loc.: 0 IDCODE: 0x24004093 Desc: XC6SLX25 Rev: C IR length: 6 dpavlin@nuc:/nuc/FPGA/HDMI2USB/HDMI2USB-litex-firmware$ xc3sprog -c ftdi ../scarab-soc/build/gateware/top.bit XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 774 $ OS: Linux Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop Using Libftdi, DNA is 0x99c82c33404496ff (H2U P=opsis) dpavlin@nuc:/nuc/FPGA/HDMI2USB/scarab-soc$ cat ~/bin/fpgaprog #!/bin/sh -xe LD_LIBRARY_PATH= LD_PRELOAD= xc3sprog -c ftdi -v $3 HDMI2USBdpavlin@klin:/klin/HDMI2USB/HDMI2USB-litex-firmware$ git remote -v origin https://github.com/mithro/HDMI2USB-litex-firmware (fetch) origin https://github.com/mithro/HDMI2USB-litex-firmware (push) dpavlin@klin:/klin/HDMI2USB/HDMI2USB-litex-firmware$ . scripts/enter-env.sh (H2U P=opsis R=nextgen) dpavlin@klin:/klin/HDMI2USB/HDMI2USB-litex-firmware$ export PLATFORM=minispartan6 (H2U P=minispartan6 R=nextgen) dpavlin@klin:/klin/HDMI2USB/HDMI2USB-litex-firmware$ export TARGET=main (H2U P=minispartan6 T=video R=nextgen) dpavlin@klin:/klin/HDMI2USB/HDMI2USB-litex-firmware$ make gateware |