FPGARelated.com
Forums

Virtex 4 ACE Compact Flash configuration problem

Started by Dan July 18, 2006
I am trying to program Xilinx Virtex4 evaluation board ML402 via ACE using Compact Flash card. Every time when I turn the device on the red LED 'Err' turns on.
Dan wrote:
> I am trying to program Xilinx Virtex4 evaluation board ML402 via ACE using Compact Flash card. Every time when I turn the device on the red LED 'Err' turns on.
The CF card has to be formatted properly. Try if downloading one of the reference CF images from http://www.xilinx.com/products/boards/ml402/reference_designs.htm works properly. If you must reformat, then use a Linux or Win2k machine, or mkdosfs to format the disk. WinXP changed the way DOS formatting is done, and such CF's will not work with Sytem ACE. /Siva
I have tried already all the demos and they all work fine. Problem is with a new configuration ACE file that I create with ISE 8.1 and iMPACT - even the simplest design can not configure the board.
Dan schrieb:

> I have tried already all the demos and they all work fine. Problem is with a new configuration ACE file that I create with ISE 8.1 and iMPACT - even the simplest design can not configure the board.
you can playback ACE file without the ACE controller on PC using cable III http://www.xilant.com/downloads/aceplayer_1_0.zip if I needed I can add more verbose debug output to the aceplayer Antti http://antti-brain.com
Dan wrote:
> I have tried already all the demos and they all work fine. Problem is with a new configuration ACE file that I create with ISE 8.1 and iMPACT - even the simplest design can not configure the board.
Are you sure that you set up the JTAG chain properly in iMPACT when you generated the ACE file? The chain should be defined as XCF32P -> XC4VSX35 -> XC95144XL Ed McGettigan -- Xilinx Inc.
Ed McGettigan wrote:

      Are you sure that you set up the >JTAG chain properly in iMPACT when you
      generated the ACE file? The >chain should be defined as





      XCF32P -> XC4VSX35 -> XC95144XL




How do I set up the JTAG chain in iMPACT? What I see on the iMPACT is:

xc4vsx35 myfile.bit -> XCCACE-TQ144I
I also tried to edit svf file before converting it to ace with svf2ace117.exe and the red led 'err' was turned on again. But when I converted the edited svf file with -s option (skip TDO test) then finally the red led 'err' was not on, neither was the green led 'done'. It didn't work again.
I forgot to say that I edited the svf file according to:

 <http://www.xilinx.com/xlnx/xil_ans_display.jsp?iLanguageID=1&iCountryID=1&getPagePath=23146>

The issue is caused by the lack of a proper time delay after the JPROGRAM instruction is issued to the device.

//NEW CODE SEGMENT: Loading device with a 'bypass' instruction SIR 14 TDI (3fff) SMASK (3fff) ; RUNTEST 434000 TCK ;

here I changed TCK to 2434000 - made it longer because I am programming Virtex 4 SX35.
Dan wrote:
> Ed McGettigan wrote: > > Are you sure that you set up the >JTAG chain properly in iMPACT when you > generated the ACE file? The >chain should be defined as > > XCF32P -> XC4VSX35 -> XC95144XL > > How do I set up the JTAG chain in iMPACT? What I see on the iMPACT is: > > xc4vsx35 myfile.bit -> XCCACE-TQ144I
Since you haven't described the full chain for iMPACT, the software isn't creating a valid ACE file for your chain to bypass the other devices. When you are in the iMPACT main window you need to either select the toolbar icon for "Add Device" or right mouse button click to "Add a device". You need to create the same chain in the tool as exists on the board first, then you can go ahead and assign your bit file to the SX35 and generate an ACE file. Ed
I have set up the JTAG chain as you said, all 3 devices, generated the
ACE file, and it doesn't work again, red 'err' led is on, green 'done'
led stays off:

Device #0 was xcf32p
Device #1 xc95144lx
Device #2 xc4vsx35

I assigned the configuration bit file to the device#2, generated the
ACE file and downloaded it properly to the CF card. When I put the card
on the ML402 board, turned it on, red led 'err' is on.

I tried simple configuration - simple design that should just turn the
led DS6 on.

Thanks
Dan

Ed McGettigan wrote:
> Dan wrote: > > Ed McGettigan wrote: > > > > Are you sure that you set up the >JTAG chain properly in iMPACT when you > > generated the ACE file? The >chain should be defined as > > > > XCF32P -> XC4VSX35 -> XC95144XL > > > > How do I set up the JTAG chain in iMPACT? What I see on the iMPACT is: > > > > xc4vsx35 myfile.bit -> XCCACE-TQ144I > > Since you haven't described the full chain for iMPACT, the software isn't > creating a valid ACE file for your chain to bypass the other devices. > > When you are in the iMPACT main window you need to either select the toolbar > icon for "Add Device" or right mouse button click to "Add a device". You > need to create the same chain in the tool as exists on the board first, then > you can go ahead and assign your bit file to the SX35 and generate an ACE > file. > > Ed