Xilinx ISE 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

Reply to
axr0284
Loading thread data ...

-------------------------------------------------- Looks like the Device idcode is shifted by one bit. Perhaps noise on the jtag lines that maybe susceptible to speed setting of the download GUI vs batch mode. Are you using the flying leads. Sometimes they do not work very well.

GL

Reply to
Newman

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.