1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2024-12-05 04:24:40 +02:00
nn-usb-fpga/Software/xc3sprog
Carlos Camargo 26b0c73a84 Adding new SAKC version, including LED circuit.
Adding compiling script to Scope Demo
2010-05-20 11:49:05 -05:00
..
bitfile.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
bitfile.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
bitparse.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
byte-order.txt Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
COPYING Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
debug.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
detectchain.cpp Change devlist.txt to /usr/share/xc3sprog 2010-04-02 23:18:39 -05:00
devicedb.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
devicedb.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
devlist.txt Adding new SAKC version, including LED circuit. 2010-05-20 11:49:05 -05:00
iobase.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
iobase.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
iodebug.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
iodebug.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
ioparport.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
ioparport.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
jtag.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
jtag.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
jz47xx_gpio.c Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
jz47xx_gpio.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
Makefile Adding new SAKC version, including LED circuit. 2010-05-20 11:49:05 -05:00
progalgxc3s.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
progalgxc3s.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
progalgxcf.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
progalgxcf.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
README Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
sakcXCProgrammer.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
sakcXCProgrammer.h Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
xc3sprog.cpp Change devlist.txt to /usr/share/xc3sprog 2010-04-02 23:18:39 -05:00

Spartan3 JTAG programmer and other utilities

Copyright (C) 2004 Andrew Rogers

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 



Please also read the file "COPYING" which is a copy of the GNU General Public License




This program should run without installation as root.

To compile:

$ make


A simple example is included that copies the switches to the LEDs on the Xilinx Spartan3 Starter Kit.

$ ./xc3sprog echo_out.bit


The Platform Flash PROM of the Xilinx Spartan3 Starter Kit can be programmed by specifying it's location in the JTAG chain. Example command line below.

$ ./xc3sprog echo_out.bit 1


There is also a utility program included that parses and prints the header of a Xilinx .bit file.

$ ./bitparse echo_out.bit