amtsvfplayer and Jtagkey

Hi,

When I try to program my Xilinx (spartan-3AN) with Amontec Jtagkey and amtsvfplayer, I get an error.

Does someone know, explain this error ?

My .svf is bad ? or my jtag connection is bad ?

C:\amtsvfplayer_20071122\amtsvfplayer\call>amtsvfplayer -h -svfFile rmp200-epld.svf
-----------------------------------
-- Amontec SVF Player            --
-- based on Amontec AmtXHAL      --
-- http://www.amontec.com        --
-- version: 1.6 (Build 20071122) --
-----------------------------------
Amontec amtxhal.dll version: 1.13 (Build 20071122)
usage: amtsvfplayer.exe [options]
  -help                (-h)   : this help
  -pause               (-p)   : pause the console at the end
  -svfLine TXT         (-sl)  : a SVF line to be executed
  -svfFile TXT         (-sf)  : a SVF filename to be executed
  -optimizer           (-op)  : optimize the frequency
  -frequencyFactor NUM (-ff)  : a percent value
  -runtestFactor NUM   (-rtf) : a percent value
  -runtestDivisor NUM  (-rtd) : a divider value
  -runtestGuard NUM    (-rtg) : minimum of RUNTEST to keep
  -headerTapNum NUM    (-htn) : absolute Header tap number
  -headerIRLength NUM  (-hirl): absolute Header Instruction Register Length
  -trailerTapNum NUM   (-ttn) : absolute Trailer tap number
  -trailerIRLength NUM (-tirl): absolute Trailer Instruction Register Length
  -portID NUM          (-pid) : a Port ID value

ICE analizing:
--------------
ICE (JTAGkey) PORT[0] is attached to a target board.

JTAG chain analyzing:
---------------------
JTAG TRST_N signal can stay open.
JTAG chain safe max frequency: 6000000 Hz
JTAG chain safe number of TAPs: 1
JTAG chain construction:

  ICE (JTAGkey) PORT[0] -> TDI
                            +
                           TDI
                           TAP[0] / IDCODE: 0X02610093
                           TDO
                            +
  ICE (JTAGkey) PORT[0] <- TDO

JTAG chain is safe and stable!

SVF playing File:
-----------------
SVF is executing filename : rmp200-epld.svf ...

            ***********************
SVF Result: *** TDO CHECK ERROR ***
            ***********************

TDO checked with ERROR !
  TDO Error: Target ID = 5
  TDO Error: Scan ID = 5626 (SVF Line)
  TDO Error: Scan Bit Position = 8552
  TDO Error: Scan Byte Position = 1069
  TDO Error: Byte Bit Position =  0
  TDO Error: Returned Byte = 0XFF
  TDO Error: Expected Byte = 0000
  TDO Error: Expected Mask = 0XFF

  ... millisecondes 24031 ms

Thank you for using Amontec products ( http://www.amontec.com ).
Press a KEY + ENTER for finishing with this software![