First, inside the manual for openocd constant references are given to targets/spartan3.cfg but i have yet to find this in the package.
That said, I attempted to define the start of a config for the spartan 3 using the BSDL. This is what I have:
jtag newtap xc3s1600.fpga fpga \
-irlen 6 \
-irmask 0x3f \
-ircapture 0x9 \
-expected-id 0x3874126
target create xc3s1600.fpga xscale -endian little
Execution results give:
Info : JTAG tap: xc3s1600.fpga.fpga tap/device found: 0x90e1d093 (Manufacturer: 0x049, Part: 0x0e1d, Version: 0x9)
Error: JTAG tap: xc3s1600.fpga.fpga got: 0x90e1d093 (mfg: 0x049, part: 0x0e1d, ver: 0x9)
Error: JTAG tap: xc3s1600.fpga.fpga expected 1 of 1: 0x03874126 (mfg: 0x093, part: 0x3874, ver: 0x0)
Any idea what I’m getting wrong here?
Here are some of the relavent parts from the BSDL: