1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 01:20:16 +02:00
nn-usb-fpga/Software/xc3sprog/README

45 lines
1.3 KiB
Plaintext
Raw Normal View History

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