cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
axr0284
Newbie
Newbie
12,871 Views
Registered: ‎07-08-2008

impact outputs bad idcode when in batch mode but works in gui mode

Hi,

 I am trying to create a batch file to load a bit file into an FPGA (Spartan 3E 500 -5 PQ208). I used the following commands:

setMode -bscan
setCable -p auto
addDevice -p 1 -file "C:\perforce\depot\eni\eng\projects\DEV\E9352_MOAC\P01_System_Controller_FPGA\Src\synthesis\blank_fpga\blank_fpga.bit"
program p 1

 

Impact outputs the following:

...

...

...

>addDevice -p 1 -file "C:\perforce\depot\eni\eng\projects\DEV\E9352_MOAC\P01_System_Controller_FPGA\Src\synthesis\blank_fpga\blank_fpga.bit"
'1': Loading file
'C:\perforce\depot\eni\eng\projects\DEV\E9352_MOAC\P01_System_Controller_FPGA\Src\synthesis\blank_fpga\blank_fpga.bit' ...

done.
INFO:iMPACT:1777 -
   Reading C:/Xilinx92i/spartan3e/data/xc3s500e.bsd...

INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream
   stored in memory,
   but the original bitstream file remains unchanged.
INFO:iMPACT:501 - '1': Added Device xc3s500e successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------

>program -p 1
ERROR:iMPACT:583 - '1': The idcode read from the device does not match the
   idcode in the bsdl File.
INFO:iMPACT:1578 - '1':  Device IDCODE :        00000011100001000100000100100110

INFO:iMPACT:1579 - '1': Expected IDCODE:    00000001110000100010000010010011
Elapsed time =      0 sec.

 

The weird thing is if I go through the GUI, it works fine. I am wondering if anybody has seen this before. Thanks,

Amish

0 Kudos
3 Replies
chris_basson
Visitor
Visitor
10,877 Views
Registered: ‎10-27-2009

Hi Amish,

I am experiencing a similar problem and was considering opening a webcase when I came accross your experience.

Mine also works in the GUI but not batch mode.

I notice that your Device IDCODE seems to be shifted left by one position, mine is the other way round.

Did you manage to find a solution to the problem?

BTW I am using 11.2 and a V5 device,

 

Best regards,

Chris

0 Kudos
Anonymous
Not applicable
9,832 Views

  • Please reload BSDL file. Get BSDL file from xilinx website and reload into ISE tools library. Also verify the part number and package entered in ISE project. If still problem exists please refer the below

 

 

  • Check all the connections as per configuration guide recommendations

 

  • Check the continuity of the cable & cable insertion direction.

 

  • Check all the voltages of device. They should be with the range  as per data sheet recommendations

 

 

 

0 Kudos
erili347
Visitor
Visitor
8,593 Views
Registered: ‎05-31-2010

I have the exact same problem. Using a Spartan3E 250 -4 VQ100.

ID code looping works fine. Discovered teh following:

In batch mode, the correct ID code is read if I do like this:
>setmode -bs
>setcable -auto
>identify
>readidcode -p 1
Maximum TCK operating frequency for this device chain: 10000000.
Validating chain...
Boundary-scan chain validated successfully.
'1': IDCODE is '00010001110000011010000010010011'
'1': IDCODE is '11c1a093' (in hex).
'1': : Manufacturer's ID = Xilinx xc3s250e, Version : 1
Elapsed time = 0 sec.


But it fails after running adddevice:
>setmode -bs
>setcable -auto
>identify
>adddevice -p 1 -file top.bit
>readidcode -p 1
INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode

in the bsdl File.
INFO:iMPACT:1578 - '1': Device IDCODE : 00001000111000001101000001001001

INFO:iMPACT:1579 - '1': Expected IDCODE: 00000001110000011010000010010011
Elapsed time = 0 sec.


Any solution found?
0 Kudos