- Wed Aug 09, 2006 11:45 pm
#16971
Hi,
I am interested in modifying OpenOCD so it can program Xilinx FPGAs (well, Spartan 3's anyway). There is already a stand-alone program (xc3sprog) that does this, but to my mind it makes sense to reuse existing JTAG driver code instead of re-inventing the wheel.
I tried building OpenOCD (on FreeBSD - I patched it a bit) and running it but I get this...
I note that OpenOCD has an XSVF player and the Xilinx FPGA tools can generate those for programming the FPGA (or flash memory) so it would be nice if at least that would work.
I am interested in modifying OpenOCD so it can program Xilinx FPGAs (well, Spartan 3's anyway). There is already a stand-alone program (xc3sprog) that does this, but to my mind it makes sense to reuse existing JTAG driver code instead of re-inventing the wheel.
I tried building OpenOCD (on FreeBSD - I patched it a bit) and running it but I get this...
Code: Select all
Unfortunately I don't have much JTAG clue and I haven't delved into the code (no time just yet).. Anyone have an opinion as to the feasibility?[inchoate 16:03] ~/projects/FPGA/openocd/trunk >./src/openocd -d -f foo
Info: openocd.c:86 main(): Open On-Chip Debugger (2006-06-25 23:00 CEST)
Debug: jtag.c:1145 jtag_init():
Warning: parport.c:242 parport_init(): parport_init() called
Debug: parport.c:192 parport_reset(): trst: 0, srst: 0
Debug: jtag.c:229 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:229 jtag_call_event_callbacks(): jtag event: 1
Error: jtag.c:1100 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch
I note that OpenOCD has an XSVF player and the Xilinx FPGA tools can generate those for programming the FPGA (or flash memory) so it would be nice if at least that would work.
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum