1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-07 15:40:15 +02:00
nn-usb-fpga/Software/xc3sprog
Carlos Camargo a7c692d3f0 Adding Xc3sprog ported to SAKC
Adding FPGA sram hdl code and user space code
Fixing some errors:
LCD's pinout connector is swapped
FPGA TDI SIGNAL must be routed to another pin (C14), right now is DQMH
Remove R11
Check JZ4725 symbol's component (PORTD is wrong)
Adding PB2 and PB3
wiring ADC's vref to external connector
Adding power LED
Adding CPU Led
2010-03-17 15:42:11 -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
bitfile.o 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 Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -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
devicedb.o Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
devlist.txt Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -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
iobase.o 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
iodebug.o 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
jtag.o 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
jz47xx_gpio.o Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
Makefile Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -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
progalgxc3s.o 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
progalgxcf.o 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
sakcXCProgrammer.o Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
xc3sprog Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
xc3sprog.cpp Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -05:00
xc3sprog.o Adding Xc3sprog ported to SAKC 2010-03-17 15:42:11 -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