Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board].

There are 7 messages in this thread.

You are currently looking at messages 0 to 7.

Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - Henrik Koksby Hansen - 2005-03-18 05:51:00

Hi,

I am using JTAG Cable IJC-2 from Memec and Xilinx Platform Studio
(Xilinx EDK 6.3 Build EDK_Gmm.12.3+1) to program subj.

Typically in the morning, the programming fails constantly until it
suddenly works after an hour or two. When it then works, it keeps
working. For that reason i beleive my code is OK. ;-)

When it does not work, i get this error:

  ---
  INFO:iMPACT:580 - '2':Checking done pin ....done.
  '2': Programming terminated, Done did not go high.
  Elapsed time =     21 sec.
  ---

I tried to change port type on my LPT-port to all possible modes.
I shortened the cable between JTAG module and board to approx. 5 cm,
using a ribbon cable with GND between all wires.

I can provoke the error by unplugging the board from the PSU for about
5 mins. But I can't seem to find a way to get it working again - other
than swinging the cat by its tail and then it suddenly works.

I hope that someone in here have any bright ideas. :)



The entire log from Xilinx Platform Studio is pasted here, if needed:

---
(Console Log)
PM_SPEC -- Xilinx path component is <C:/EDK>
Project Opened.
At GMT date and time: 2005:3:18:10:30:41
Command bash -c "cd
/xygdrive/c/Xilinx/Workshops/MB1000_Web_Server_Design_EDK63/MB1000_Web_Server/;
/usr/bin/make -f system.make download; exit;" Started...

*********************************************
Downloading Bitstream onto the target board
*********************************************
impact -batch etc/download.cmd
PM_SPEC -- Xilinx path component is <C:/EDK>
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setCable -port auto
AutoDetecting cable. Please wait.
No resources.
No resources.
Connecting to cable (USB Port).
Cable connection failed.
Connecting to cable (Parallel Port - LPT1).
Checking cable driver.
 Driver windrvr6.sys version = 6.2.2.2. LPT base address = 0378h.
 ECP base address = FFFFFFFFh.
Cable connection established.
// *** BATCH CMD : identify
Identifying chain contents ....Version is 0010
'1': : Manufacturer's ID =Xilinx xc2v1000, Version : 2
INFO:iMPACT:1777 - 
   Reading C:/Xilinx/virtex2/data/xc2v1000.bsd...
INFO:iMPACT:501 - '1': Added Device xc2v1000 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
Version is 0000
'2': : Manufacturer's ID =Xilinx xc18v04, Version : 0
INFO:iMPACT:1777 - 
   Reading C:/Xilinx/xc18v00/data/xc18v04.bsd...
INFO:iMPACT:501 - '1': Added Device xc18v04 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
Elapsed time =      0 sec.
// *** BATCH CMD : identifyMPM
Elapsed time =      0 sec.
// *** BATCH CMD : setAttribute -position 2 -attr configFileName
-value
"implementation/download.bit"
'2': Loading file 'implementation/download.bit' ...
done.
INFO:iMPACT:501 - '2': Added Device xc2v1000 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
// *** BATCH CMD : program -p 2 
Validating chain...
Boundary-scan chain validated successfully.
'2':Programming  device...
'2': Reading status register contents...
INFO:iMPACT:2146 - Status register values:
INFO:iMPACT - 0011 0000 0001 0000 0000 0000 0000 0000 
done.
INFO:iMPACT:579 - '2': Completed downloading bit file to device.
INFO:iMPACT:580 - '2':Checking done pin ....done.
'2': Programming terminated, Done did not go high.		<-----
Elapsed time =     21 sec.
----------------------------------------------------------------------
----------------------------------------------------------------------
make: *** [download] Error 1
Done.
---
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.



Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - design - 2005-03-18 07:28:00

Hi henrik
I am not sure but is this got something to do with the DONE pin not
going high. I dont know abt platform studio but then with Project
navigator there is a setting which drives the done pin high that is if
the done pin in the circuit is not connected to a pullup resistor.
Hope this helps.

______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - Henrik Koksby Hansen - 2005-03-18 13:05:00

[...]
>Hi henrik
[...]

Hello, design? :)

>I am not sure but is this got something to do with the DONE pin not
>going high. I dont know abt platform studio but then with Project
>navigator there is a setting which drives the done pin high that is if
>the done pin in the circuit is not connected to a pullup resistor.
[...]

Yeah, but I can't seen to find any settings that does this. I am
pretty new to this. :)
Anyways, I powered off the board and soldered a 10kOhm resistor from
the DONE-pin to Vcc. And it actually worked after I powered it on
again and programmed it.

>Hope this helps.
[...]

I hope so too. Only time will show if the pull-up resistor did the
trick. ;-)



-- 
Henrik
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - Henrik Koksby Hansen - 2005-03-20 12:17:00

>>I am not sure but is this got something
to do with the DONE pin not
>>going high. I dont know abt platform studio but then with Project
>>navigator there is a setting which drives the done pin high that is if
>>the done pin in the circuit is not connected to a pullup resistor.
>[...]
>
>Yeah, but I can't seen to find any settings that does this. I am
>pretty new to this. :)
>Anyways, I powered off the board and soldered a 10kOhm resistor from
>the DONE-pin to Vcc. And it actually worked after I powered it on
>again and programmed it.
>
>>Hope this helps.
>[...]
>
>I hope so too. Only time will show if the pull-up resistor did the
>trick. ;-)
[...]

Damn, it did not work. After some hours it went mad at me again.

Does anyone have any ideas on what to try out?


-- 
Henrik
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - John Williams - 2005-03-21 18:40:00

Hi Henrik,

Henrik Koksby Hansen wrote:
>>>I am not sure but is this got something to do with the DONE pin not
>>>going high. I dont know abt platform studio but then with Project
>>>navigator there is a setting which drives the done pin high that is if
>>>the done pin in the circuit is not connected to a pullup resistor.
>>
>>[...]
> Damn, it did not work. After some hours it went mad at me again.
> 
> Does anyone have any ideas on what to try out?

I've seen similar strangeness on this board, maybe it's relevant.  It 
occurrs if I have the configuration mode jumpers set for Slave Serial 
mode (e.g. for configuring from the PROM) but was actually configuring 
via JTAG instead.

The fix for me was to ensure that the mode jumpers were in the exactly 
correct place.  So, for JTAG, I think that's Open closed open closed 
(from left to right).  Or, for PROM-configuration, all closed.

Hope this helps,

John
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - Henrik Koksby Hansen - 2005-03-22 13:06:00

On Tue, 22 Mar 2005 09:40:07 +1000, John
Williams
<j...@itee.uq.edu.au> wrote:

>Hi Henrik,
[...]

Hi John,

>>>>I am not sure but is this got something to do with the DONE pin not
>>>>going high. I dont know abt platform studio but then with Project
>>>>navigator there is a setting which drives the done pin high that is if
>>>>the done pin in the circuit is not connected to a pullup resistor.
>>>[...]
>> Damn, it did not work. After some hours it went mad at me again.
[...]
>I've seen similar strangeness on this board, maybe it's relevant.  It 
>occurrs if I have the configuration mode jumpers set for Slave Serial 
>mode (e.g. for configuring from the PROM) but was actually configuring 
>via JTAG instead.
>
>The fix for me was to ensure that the mode jumpers were in the exactly 
>correct place.  So, for JTAG, I think that's Open closed open closed 
>(from left to right).  Or, for PROM-configuration, all closed.
[...]

All jumpers was actually closed. I tried to set the jumpers as
described. By the way, it tells the same jumber positions in the
manual for the board on p. 22. Unfortunatly it did not work. I
additionally tried disabling the PROM by JP28, but that makes no
difference either.

I'll just power cycle the board a few times, and un- and replug until
it suddenly works. But it would be nice to get it working every time.
I will talk to a Memec guy on tuesday - if I have no solution by then
I will try and ask him. And, if he has a solution, I will post it in
here.

Please let me know if you have any further ideas - I appreciate any
help I get. :)


-- 
Henrik

Re: Downloading problems [Memec DS-BD-V2MB1000 Virtex-II board]. - Henrik Koksby Hansen - 2005-04-30 12:24:00

>I am using JTAG Cable IJC-2 from Memec and
Xilinx Platform Studio
>(Xilinx EDK 6.3 Build EDK_Gmm.12.3+1) to program subj.
>
>Typically in the morning, the programming fails constantly until it
>suddenly works after an hour or two. When it then works, it keeps
>working. For that reason i beleive my code is OK. ;-)
>
>When it does not work, i get this error:
>
>  ---
>  INFO:iMPACT:580 - '2':Checking done pin ....done.
>  '2': Programming terminated, Done did not go high.
>  Elapsed time =     21 sec.
>  ---
[...]

The solution was to NOT connect the Vcc-wire of the JTAG to the JTAG
interface on the board - but directly to the 3,3V supply outlet on the
board. Well, it didn't solve the problem completely, but it is much
much better now.



-- 
Henrik