Spartan3 programming tools for GNU/Linux
C++ C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
COPYING
Makefile
README
bitfile.cpp
bitfile.h
bitparse.cpp
byte-order.txt
debug.cpp
detectchain.cpp
devicedb.cpp
devicedb.h
devlist.txt
echo_out.bit
iobase.cpp
iobase.h
iodebug.cpp
iodebug.h
ioparport.cpp
ioparport.h
jtag.cpp
jtag.h
progalgxc3s.cpp
progalgxc3s.h
progalgxcf.cpp
progalgxcf.h
xc3sprog.cpp

README

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