Hi all,
UPDATE: Please check the header changed slightly
I still struggel to get the toolchain up and running for the above device.
I got the Linux stuff working so far (at least I hope)
Here is a dump of what is working. I will be verbose to make sure I do not overlook something obvious
1. Temporary remove the standard ftdi drivers
rmmod lbftdi_sdio
2. start jtag
jtag
3. load cable drivers
jtag> cable jtagkey
Connected to libftd2xx driver.
4. call detect
jtag> detect
IR length: 26
Chain length: 2
Device Id: 01100010100010010110000010010011 (0x62896093)
Manufacturer: Xilinx (0x093)
Unknown part! (0010100010010110) (/usr/share/urjtag/xilinx/PARTS)
Device Id: 11100101000001011000000010010011 (0xE5058093)
Manufacturer: Xilinx (0x093)
Part(1): xcf16p (0x5058)
Stepping: 14
Filename: /usr/share/urjtag/xilinx/xcf16p/xcf16p
jtag>
As you can see there are two FPGAs onboard (a customer specific and a low-level routine one).
5. Select the recognized one
jtag> part 1
6. Check what print is giving me
jtag> print
No. Manufacturer Part Stepping Instruction Register
-------------------------------------------------------------------------------------------------------------------
1 Xilinx xcf16p 14 BYPASS BYPASS
So far all looks good I guess.
I only have a MCS file from Xilinx ISE (no access to the sources yet). I called impact created a new project and importet the MCS file. I called the "One Step SVG" process which created a file default.svf
7. Call the SVF
svf default.svf stop progress
Error svf: mismatch at position 31 for TDO
in input file between line 21 col 1 and line 21 col 72
error: Error occurred for SVF command, line 20, column 0-71:
SDR.
detail: Parsing 475240/475248 ( 99%)detail:
detail: Mismatches occurred between scanned device output and expected TDO values.
jtag>
At this point I have trouble. Either the SVF conversion did not went right or something else is wrong as you can see from the output. The board does not react anymore (its not bricked I guess just not correctly programmed).
I would highly appreciate if someone can give me a hand and help me with that.
Two points I would like to notice.
The stepping for the FPGA was not available in urJTAG.
I manually added:
1110 xcf16p 14
to /usr/share/urjtag/xilinx/xcf16p/STEPPINGS
Also not sure why it selected xcf16p.
The second point. For impact I get asked during the project creation "Select PROM". I can select between
xcs1400an
xc3s700an
xcf16p
xcf32p
I used xcf16p since that is what urjtag was giving me... But still not sure about it.
Any help is welcome!