Xilinx LPT JTAG Cable

cassinni

Senior Member
Jun 2, 2011
137
0
Purple Haze, Europe
Hi,

when I preordered my Xilinx LPT JTAG Cable there were no product images or notice it needs a LPT port.
Now I have no LPT ports
I read that I cannot use a USB-to-LPT adapter or a LPT PCI card to have a working LPT port, is that true?
Some say you cannot others say you can so I am confused..
I want to use this jtag cable to update my xecuter coolrunner.


thanks
 

Intline9

Junior Member
Nov 30, 2011
14
0
You can NOT use a usb to lpt adapter
You CAN use a pci to lpt adapter (you need to tweak some settings in iMPACT)
 

diaboliq20

VIP Member
Jun 23, 2011
3,497
0
Scotland
I'm sorry - but this >
when I preordered my Xilinx LPT JTAG Cable there were no product images or notice it needs a LPT port.
did the bit in red not give it away when you preordered???
 

esbmaepo

VIP Member
Oct 2, 2011
461
48
Esbjerg - Denmark
Hi,

when I preordered my Xilinx LPT JTAG Cable there were no product images or notice it needs a LPT port.
Now I have no LPT ports
I read that I cannot use a USB-to-LPT adapter or a LPT PCI card to have a working LPT port, is that true?
Some say you cannot others say you can so I am confused..
I want to use this jtag cable to update my xecuter coolrunner.


thanks
iMPACT uses Jungo Windriver for communicating with usb and lpt, but it doesn't support PCI/LPT cards that uses legacy drivers.

You have to find your cards I/O range


Here is the solution:

Suppose your PCI/LPT card has a I/O range of D030 - D037

Modify settings32.bat (located in Xilinx/LabTools directory) by inserting 2 extra lines:

SET XIL_IMPACT_ENV_LPT_BASE_ADDRESS=D030
SET XIL_IMPACT_ENV_LPT_ECP_ADDRESS=D037

so it now looks like this:

"
@echo off
REM Copyright (c) 1995-2011 Xilinx, Inc. All rights reserved.

SET XIL_IMPACT_ENV_LPT_BASE_ADDRESS=D030
SET XIL_IMPACT_ENV_LPT_ECP_ADDRESS=D037

REM Set current working directory
set XIL_SCRIPT_LOC=%~dp0
REM Remove trailing slash
set XIL_SCRIPT_LOC=%XIL_SCRIPT_LOC:~0,-1%
REM Call settings file for each product
for /D %%d in (%XIL_SCRIPT_LOC%\*) do (
if EXIST %%d\.settings32.bat (
call %%d\.settings32.bat
)
)
REM Unset XIL_SCRIPT_LOC
set XIL_SCRIPT_LOC=
REM Execute command if any
if "%1" neq "" (
if /i "%~x1" == ".bat" (
call %*
) else (
start %*
)
)

"

Thats it. Should work:smile:
 

ArsenalFC

Full Member
Dec 1, 2011
45
6
Thanks for your input.

1. How do you find out your PCI LPT Cards I/O range?

2. What do you mean with legacy drivers?

3. Does this work with any PCI LPT card?
 

esbmaepo

VIP Member
Oct 2, 2011
461
48
Esbjerg - Denmark
Thanks for your input.

1. How do you find out your PCI LPT Cards I/O range?

2. What do you mean with legacy drivers?

3. Does this work with any PCI LPT card?

1) Find your card under Device Manager and double click. Just use the top I/O range.

2) It means that the system simply translate pci address to LPT1, LP2... etc. Fine for connecting a printer fx but not iMPACT

3) The more advanced (and expensive) PCI LPT card functions as a prober LPT port and doesn't need this fix. The trick is that you can buy a cheep card and make it work. I did;)
 

LED-Jtagz

Full Member
Nov 30, 2011
40
0
USB to LPT adapters do not generally work as they do not contain the proper stuff to make them work. When I first got into the flashing scene I didnt want to spend the $60 for the x360usb pro so I bought a little $20 sata to USB converter, and guess what happened? It didnt work. Same with LPT to USB converters, not designed to work with everything, and they generally dont.
 

esbmaepo

VIP Member
Oct 2, 2011
461
48
Esbjerg - Denmark
USB to LPT adapters do not generally work as they do not contain the proper stuff to make them work.
I know that USB ports doesn't use I/O range settings, but USB ports are hooked up to USB Host Controllers and those controllers do use I/O range.

So maybe it would just be a matter of finding the corresponding host controllers I/O range that a particular port is connected to.
 

AudioProUK

VIP Member
Sep 15, 2011
280
0
hahahaha.....OMG , this is soo funny i actually spat my tea out ...hahah ...MY XILINX LPT DIDNT MENTION I NEEDED AN LPT PORT ....hahahahah how hillarious is that ...hahaha
 

ArsenalFC

Full Member
Dec 1, 2011
45
6
i didnt know what lpt stands for when i preordered it. even my 2004 canon printer uses usb2.
i still dont understand why in hell they would use that
and not at least (!!!) usb2, but makes me happy u had a laugh :) greetings haha
 

sdeens

BANNED
Dec 17, 2006
17
0
california
I can see his point, his generation did not know yet that LPT also means parallel or printer port, because that ancient hardware has minimal use moving forward.

I thought the question was reasonable.

btw:

The real question that has not been asked, is which is the best LPT port setting for PCI based cards?

I suggest next time you try ECP next time instead of the default SPP setting in your BIOS and watch what happens...it will flash and verify better, especially with homebrew cables.
 
Last edited: