cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Contributor
Contributor
5,067 Views
Registered: ‎09-14-2008

Downloading Bitstream - I have a Problem

Jump to solution

Good morning everywhere

 

I built a MicroBlaze-System with the BSB, generatet the Bitfile and now I want to download it into the FPGA (Virtex2p).

But i got the following error-message:

 

At Local date and time: Wed Oct 01 08:30:22 2008
 make -f system.make download started...
*********************************************
Downloading Bitstream onto the target board
*********************************************
impact -batch etc/download.cmd
Release 10.1.02 - iMPACT K.37 (nt)
Copyright (c) 1995-2008 Xilinx, Inc.  All rights reserved.
Preference Table
Name                 Setting            
StartupClock         Auto_Correction    
AutoSignature        False              
KeepSVF              False              
ConcurrentMode       False              
UseHighz             False              
ConfigOnFailure      Stop               
UserLevel            Novice             
MessageLevel         Detailed           
svfUseTime           false              
SpiByteSwap          Auto_Correction    
AutoDetecting cable. Please wait.
Connecting to cable (Parallel Port - LPT1).
Checking cable driver.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 2006 Build Date: Oct 16 2006 X86 32bit SYS
12:35:07, version = 811.
 LPT base address = 0378h.
 ECP base address = 0778h.
Cable connection established.
Identifying chain contents ....'1': : Manufacturer's ID =Xilinx xc2vp4, Version : 2
INFO:iMPACT:1777 -
   Reading c:/Xilinx/10.1/ISE/virtex2p/data/xc2vp4.bsd...
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
Elapsed time =      0 sec.
Elapsed time =      0 sec.
'1': Loading file 'implementation/download.bit' ...
INFO:iMPACT:501 - '1': Added Device xc2vp4 successfully.
done.
----------------------------------------------------------------------
----------------------------------------------------------------------
Maximum TCK operating frequency for this device chain: 0.
Validating chain...
Boundary-scan chain validated successfully.
'1': Programming device...
INFO:iMPACT:501 - '1': Added Device xc2vp4 successfully.
 Match_cycle = NoWait.
Match cycle: NoWait
done.
'1': Reading status register contents...
CRC error                                         :         0
Decryptor security set                            :         0
DCM locked                                        :         1
DCI matched                                       :         1
legacy input error                                :         0
status of GTS_CFG_B                               :         0
status of GWE                                     :         0
status of GHIGH                                   :         0
value of MODE pin M0                              :         1
value of MODE pin M1                              :         1
value of MODE pin M2                              :         1
value of CFG_RDY (INIT_B)                         :         1
DONEIN input from DONE pin                        :         0
IDCODE not validated while trying to write FDRI   :         0
write FDRI issued before or after decrypt operation:         0
Decryptor keys not used in proper sequence        :         0
 Match_cycle = NoWait.
Match cycle: NoWait
'1': Programming terminated. DONE did not go high.
Elapsed time =     13 sec.
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 0000 1111 0000 0000 0000 0000 0000
INFO:iMPACT:579 - '1': Completed downloading bit file to device.
INFO:iMPACT - '1': Checking done pin....done.
make: *** [download] Error 1
Done!

 

//_____________________________________________________________________________

 

This is a print of download.cmd:

setMode -bscan
setCable -p auto
identify
assignfile -p 1 -file implementation/download.bit
program -p 1
quit

//_____________________________________________________________________________

 

Can anybody help me?

If I try to download it several several times it works.

 

Greetings

 

M.Rapp

0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
6,030 Views
Registered: ‎07-25-2008

Not 100% sure if it is a software bug. But definitely not impossible!

You could try to install SP3 and see if that improves things.

 http://www.xilinx.com/support/download/i101winsp.htm

 

 Cheers!

View solution in original post

0 Kudos
Reply
4 Replies
Xilinx Employee
Xilinx Employee
5,051 Views
Registered: ‎07-25-2008

Hi there,

 

Sounds a bit like a signal integrity issue.

 

Does it always fail like that?

CRC error                                         :         0
Decryptor security set                            :         0
DCM locked                                        :         1
DCI matched                                       :         1
legacy input error                                :         0
status of GTS_CFG_B                               :         0
status of GWE                                     :         0
status of GHIGH                                   :         0
value of MODE pin M0                              :         1
value of MODE pin M1                              :         1
value of MODE pin M2                              :         1
value of CFG_RDY (INIT_B)                         :         1
DONEIN input from DONE pin                        :         0
IDCODE not validated while trying to write FDRI   :         0

 

Could you run an IDCODE loop on the chain?

This can be done with impact (Impact --> Debug --> IDCODE Looping).

Run it for 1000 times or so and see if it succeeds.

 

Also check your connectors and if possible scope the JTAG lines during operation.

Do you see clean signals on all lines?

 

Cheers!

 

 

0 Kudos
Reply
Contributor
Contributor
5,018 Views
Registered: ‎09-14-2008

Good Morning

 

thanks for the fast answer.

 

this error occurs only the first (max) 3 times. Then it works.

So it has to be a software-failure isn't it?

 

"Could you run an IDCODE loop on the chain?"

Do u mean reading the DeviceID via ISE-Impact?

There i got the same error: First times it does not work.

 

It is only annoyed.

 

Greetings

 

M.Rapp

 

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
6,031 Views
Registered: ‎07-25-2008

Not 100% sure if it is a software bug. But definitely not impossible!

You could try to install SP3 and see if that improves things.

 http://www.xilinx.com/support/download/i101winsp.htm

 

 Cheers!

View solution in original post

0 Kudos
Reply
Contributor
Contributor
4,964 Views
Registered: ‎09-14-2008

I installed EDK SP3.

 

Now it works.

 

Thanks

0 Kudos
Reply