We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Registered: ‎11-08-2016

Spartan II chipscope 10.1 wrong device detection

For one of our older designs which used a custom board and a XC2S200 spartan II fpga, I need to modify the code and wanted to use chipscope to debug some signals, I used ISE 10.1 and Chipscope core inserter and  Analyzer 10.1 as well.


When I hook up the Platform Cable USB to the JTAG port on the board, the Analyzer recognizes it either as XCV200 or Virtex4-LX, and says "found 0 cores"


Any idea what's going on?




0 Kudos
4 Replies
Registered: ‎08-14-2007

Re: Spartan II chipscope 10.1 wrong device detection

The fact that the device is not consistent makes me think that your JTAG connection has problems.  If you run Impact and run "initialize chain" do you see the correct device?  In Impact can you run a few thousand ID loops in the debug menu without failure? 

-- Gabor
0 Kudos
Xilinx Employee
Xilinx Employee
Registered: ‎08-01-2008

Re: Spartan II chipscope 10.1 wrong device detection

There are a number of reasons why the ChipScope Analyzer tool might not be able to find the core units. ChipScope Analyzer software polls the JTAG chain for a status word that will tell it the number and type of cores in the device. It can be affected either by JTAG noise or a core timing issue in the design that affects the core. These might corrupt the status word that is read out. Following are some issues to check for:

Solution 1

The core is not correctly implemented, or not present at all. To verify this, perform the following steps:

1. Open the FPGA Editor (after Place and Route) to edit your design.

2. Go to "Tools" and "ILA." A window is displayed that lists all of the probed signals. If an error message appears specifying, "There is no ILA Core," your design does not contain a ChipScope Core. You might have to go back to your design and determine why the core was not implemented (the synthesis and translate reports can tell you if all of the netlists are correctly implemented, including the ChipScope ILA Core and the ICON Core).

If you can detect the core in FPGA Editor and you are using the CORE Generator flow, the following Synthesis and Implementation options might help:


-keep_hierarchy No
-read_cores No


Remove the -insert_keep_hierarchy option.



Solution 2

Programming the FPGA with iMPACT, instead of ChipScope Analyzer, can also solve the issue. Perform the following steps:

1. Run iMPACT, to program the FPGA.

2. Exit iMPACT.

3. Run ChipScope Analyzer.

Solution 3

If ChipScope Pro 6.2i is used, there is a known issue when a XCFxxP/Platform Flash is in the chain. See (Xilinx Answer 19578).

Solution 4

There is a known issue when the JTAG chain contains a System Ace MPM. The core unit might not be found. To work around the problem, put the following line in the ChipScope project file (.cpj) and read it in before opening the cable:


Replace the "X" with the position index number of the V50E device. Index 0 for the first device in the chain. Information messages about skipping scanning on the V50E device are placed in the ChipScope log.

To use the updated ".cpj" file, follow the steps listed in Solution 2 above. Be sure to load the ".cpj" file immediately after ChipScope Analyzer launches before any other action.

Solution 5

ChipScope Analyzer might not be able to find the core because the configuration options are not set correctly. If the BitGen option LCK_cycle (or Release DLL in Project Navigator) is not set to "Nowait," ChipScope Analyzer might not be able to detect the core because the ChipScope Core must be initialized with the release of GWE. Setting this option to "Nowait" (default option) might solve the issue.

Solution 6

If there are multiple FPGAs on the board with the DONE pins tied together, this error might occur in a situation where DONE is held Low by unconfigured devices and configuration does not fully complete. To work around this issue, ensure that all FPGAs on the board are configured or that the DriveDONE option is set for the target device.

Solution 7

Check that a PERIOD constraint has been added to the clock used as the Clock for your ILA. If there is no constraint on this net in the ISE software project, the ChipScope constraints will not be applied correctly and might result in the cores not being recognized.

Solution 8

Check your JTAG chain for non-Xilinx devices. You will need to enter the instruction register length for any non-Xilinx devices in the chain in the Analyzer GUI. To find this, you can examine the devices' BSDL file. There will be an entry similar to below:

attribute INSTRUCTION_LENGTH of <entity name> : entity is XX;

If you do not enter the Instruction Register length, the analyzer cannot set the JTAG offsets correctly and will not be able to identify the devices or ChipScope cores.

** If the non-Xilinx devices use the optional TRST JTAG pin then ChipScope Pro Analyzer requires that this pin is tied high.

Solution 9

The default JTAG TCK frequency might be set too high for the devices in the chain. This is sometimes set to 24 MHz. This will likely exceed the maximum TCK speed for devices in the chain as defined in the BSDL file or exacerbate any signal integrity issue on the JTAG lines. This can prevent the cores being recognized. When connecting to the cable, check the "Speed" setting in the cable connection dialog. 3 MHz is a safe value that will work for most chains.

To change the default setting for TCK, you need to edit the cs_analyzer.ini file. This will be located in the "C:\Documents and Settings\<username>\.chipscope" directory for Windows or th2 "$home\.chipscope" directory for Linux. To set the Default speed at 3 MHz, make the entry match the following:


openTarget.0=xilinx_platformusb PORT\=USB21 FREQUENCY\=3000000

Thanks and Regards
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Registered: ‎11-08-2016

Re: Spartan II chipscope 10.1 wrong device detection



I tried impact and it can see the device correctly and I could loop ID for 10000 times.


Interestingly the analyzer shows exact value for ID and other registers but shows some other device ( a virtex2) and even after I programmed the device via impact doesn't seem to recognize anything.

0 Kudos
Registered: ‎11-08-2016

Re: Spartan II chipscope 10.1 wrong device detection

Balkrishan, these are good suggestions but many don't apply to my situation and the ones that apply I tried with no success. I'm thinking maybe it's a sw or driver issue
0 Kudos