In order to program Basys2 board using xc3sprog and FTDI-Based JTAG Adapter, learn positions of the devices in the chain:
1 2 3 4 5 6 7 8 9 10 11 |
[johndoe@ArchLinux]% xc3sprog -c ft232h -j XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ 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: 0x11c10093 Desc: XC3S100E Rev: A IR length: 6 JTAG loc.: 1 IDCODE: 0xf5045093 Desc: XCF02S Rev: O IR length: 8 |
To program FPGA chip (xc3s100e), execute the following command:
1 2 3 4 5 6 7 8 9 |
[johndoe@ArchLinux]% xc3sprog -c ft232h -p 0 Project.bit XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ 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, |
To program PROM (xcf02s), change the device position to 1:
1 2 3 4 5 6 7 8 9 |
[johndoe@ArchLinux]% xc3sprog -c ft232h -p 1 Project.bit XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ 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, |