xilinx parallel cable troubles

Like so many who've come before more me I'm having problem getting th Xilinx Parallel Port cable to work. I know there've been many posts o this issue, but I'm still having trouble.

My system is a Fedora Core 2 running a 2.6.5-1.358 kernal. The only parallel port on the computer is a PCI card with NetMOS Nm9805C chipset.

+The relevant output of "more /proc/pci":

Bus 4, device 1, function 0: Class 0780: PCI device 9710:9805 (rev 1). IRQ 11. Master Capable. Latency=64. I/O at 0xc400 [0xc407]. I/O at 0xc000 [0xc007]. I/O at 0xb800 [0xb807]. I/O at 0xb400 [0xb407]. I/O at 0xb000 [0xb007]. I/O at 0xa800 [0xa80f].

+The relevant output from "lspci -v":

04:01.0 Communication controller: NetMos Technology: Unknown device 980 (rev 01) Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 Flags: medium devsel, IRQ 11 I/O ports at c400 I/O ports at c000 [size=8] I/O ports at b800 [size=8] I/O ports at b400 [size=8] I/O ports at b000 [size=8] I/O ports at a800 [size=16]

+From "dmesg": parport0: PC-style at 0x378 [PCSPP]

+And finally from iIMPACT 8.2i:

Connecting to cable (Parallel Port - parport0). WinDriver v6.22 Jungo (c) 1997 - 2004 Build Date: Jul 25 2004 X8

19:07:39. LPT base address = 0378h. ECP base address = 0778h. Cable connection failed. Reusing 79118001 key. Reusing FD118001 key. Connecting to cable (Parallel Port - parport1). WinDriver v6.22 Jungo (c) 1997 - 2004 Build Date: Jul 25 2004 X8 19:07:39. Cable connection failed. Reusing 7A118001 key. Reusing FE118001 key. (continuing through the other parports and USB)

I also have both windrvr6 and xpc4drvr modules loaded. When I tried

rmmod parport_pc.o insmod parport_pc.o io=0xc000 irq=11

the computer crashed.

My guess is since the cable connection fails immediately after determinin the base addresses for LPT and ECP on parport0 that Linux is not properl seeing the PCI card, so it's not a problem with the Xilinx drivers. Is there some way to test if a PCI card is properly installed? Som hardware version of ping perhaps?

Thanks, Laura

Reply to
lgs23
Loading thread data ...

lgs23 schrieb:

on windows you can use this non standard PCI LPT card

by sett=EDng special env variables

set XIL_IMPACT_ENV_LPT_BASE_ADDRESS=3D set XIL_IMPACT_ENV_LPT_ECP_ADDRESS=3D

dont know if that is possible under linux or not

Antti

Reply to
Antti

Try without Xilinx driver ;)

formatting link

Reply to
Sylvain Munaut

I am running Ubuntu 7.04 in VMware on my MacBook. Here is how a solved the problem with connecting to the ML403 board using the USB cable. See my blog:

formatting link

Sven

Reply to
svenand

So after a bit more hunting I see that from dmesg that parport0 is onl set up for PCSPP mode, but I need ECP mode to utilize the faster PC4 mod or COMPAT for slower download. Any thoughts?

Reply to
lgs23

Ever tried to enter BIOS on bootup and set the appropriate mode?

--
Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Reply to
Uwe Bonnes

(Sorry that this is moving further from FPGAs.)

So I did go into the BIOS and configure the parallel port for ECP. Bu when I rebooted the modes changed, but I still didn't have an ECP option:

(dmesg) parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected

After that I retried loading the parport_pc as follows:

modprobe parport_pc io=0x378,0xc400 irq=auto,auto

Now I in fact have a parport1:

parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP] parport1: PC-style at 0xc400 [PCSPP,TRISTATE,EPP]

and I can download but only in the slower PC3 mode.

How do I change the mode of a PCI parallel port to ECP so I can use PC4 Try the BIOS again?

Thanks for the help.

Reply to
lgs23

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.