7I90HD via EPP parallel port

More
9 years 8 months ago #88647 by phillc54
I have a 7I90HD and am trying to connect it to a EPP parallel port.

phill@jessie-64:~$ lspci -vv
shows the following:
Warning: Spoiler!


after:
phill@jessie-64:~$ halrun
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd:

I try:
halcmd: loadrt hm2_7i90 ioaddr=0xdc00 config="num_encoders=-1 num_stepgens=-1"
which gives:
Warning: Spoiler!


I then try:
halcmd: loadrt hm2_7i90 ioaddr=0xd880 config="num_encoders=-1 num_stepgens=-1"
which gives:
Warning: Spoiler!


These show slightly different errors from rtapi_app_main but both fail.

Can anyone shed any light on this for me.

Cheers, Phill.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #88649 by PCW
Replied by PCW on topic 7I90HD via EPP parallel port
AFAIK most if not all MOSCHIP parallel port chips have a broken EPP implementation
so will work fine for normal LinuxCNC SPP use but fail if you try to connect to a EPP
peripheral. Best choice for using a 7I90 in parallel port mode is a on board parallel port
Next choice would be a known good PCI/PCIE parallel port card, for example Oxsemi 952 based cards
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89124 by phillc54
I got hold of a card with a Oxford PCIe952 chip and still cannot connect to the 7i90.

I have tried both addresses.

Warning: Spoiler!


I noticed that the first line of lspci -vv mentions [ECP]

Does this mean that I somehow need to switch the card to EPP mode?

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89137 by PCW
Replied by PCW on topic 7I90HD via EPP parallel port
It looks like the I/O high address is not correct (I would expect it to chose base +0x400 automatically)
The I/O high address is needed to change the mode

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89190 by phillc54
If I specify ioaddr_hi=0xe000 it makes no difference to the result, it still looks at 0xd880...

I also tried ioaddr_hi=0 as per the man page and got the same result.

Warning: Spoiler!

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89229 by phillc54
It appears to work if I add epp_wide=0 to the loadrt line (why did I not try that before???).

It loads then lists the pins and show pin and show param seem to give the correct output.

I have only done this remotely so when I get home this evening I will connect some I/O up and test it out.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.079 seconds
Powered by Kunena Forum