>> If you write 0x80 to 0xC002, can you read back that value?
No, reads FF.
>> Could you show the full lspci output for the card?
02:01.0 Parallel controller: Lava Computer mfg Inc Lava Parallel (rev 03)
(prog-if 01 [BiDir])
Subsystem: Lava Computer mfg Inc Lava Parallel
Flags: medium devsel, IRQ 5
I/O ports at bc00 [size=8]
For some reason the Lava card is suddenly up and running in EPP Wide mode
without comm fault. Not idea why. Among other things tested, I removed a
NetMos card just sitting there without being used. There was not any address
conflict though. So far I have tested pwm.0 driven from siggen. The actual
PWM signal is dissapointing, has no correlation to pwm.0.value or
pwm.0.pwmdir.
Seems like the data transfer corrupts data.
Is there any kind of loopback test for PlutoP on EPP?
I will probe the EPP handshaking with a scope and see if it is good.
My reference is PlutoP on the mobo parport on the same computer where
pwm.0.value and pwm.0.pwmdir looks reasonable.
> -----Original Message-----
> From: Peter C. Wallace [mailto:[email protected]]
> Sent: den 26 december 2009 03:15
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Setting Parallel port in EPP mode
>
> On Fri, 25 Dec 2009, fritz wrote:
>
> > Date: Fri, 25 Dec 2009 20:56:29 -0500
> > From: fritz <[email protected]>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <[email protected]>
> > To: "Enhanced Machine Controller (EMC)" <emc-
> [email protected]>
> > Subject: Re: [Emc-users] Setting Parallel port in EPP mode
> >
> > Lars Andersson wrote:
> >> If I " loadrt pluto_servo ioaddr=0xBC00 " there is no complaint.
> >>
> >> However "show param pluto-servo.communication-error" increments
> rapidly
> >> when trying to pass data to/from the PlutoP.
> >>
> >>
> >>
> >> I guess the port is not in EPP mode. lspci -v says port is at
> 0xBC00 and
> >> [bi-dir]. To set EPP mode one shall write 0x80 in 0xC002 which is
> the ECP
> >> control reg.
> >>
> >> But the board is not in ECP mode either. There is no area assigned
> at
> >> C000-C007. Sending 0x04 to 0xBC02 is no help either.
> >>
> >>
> > Could you show the full lspci output for the card?
> >
> > If the card has only one i/o area, it may not be compliant with
> ECP/EPP
> > standard registers. A plug-n-play compliant PCI parallel port card
> > (that is also compliant with ECP1.9) should have a base I/O address,
> and
> > another area 0x400 above that, for each port the card has.
> >
> > I get the impression their cards are EPP only, with none of the ECP
> > registers.
>
> That was my experience with the Lavalink card as well, the card I had
> (1 port
> parallel only) comes up in EPP mode without any setup whatsoever. This
> card
> worked perfectly with our 7I43 interfaced via EPP mode (verifying the
> the
> hardware _can_ work, this is with our DOS loopback test program), but
> failed
> to work under Linux/EMC2 for some reason. This is possibly because some
> driver, probe, or setup operation busted EPP mode, or guessed the
> addresses
> wrong.
>
> >
> > Without datasheets, the only way to learn more about the card is to
> have
> > one. If you write 0x80 to 0xC002, can you read back that value?
> >
> >
> > ---------------------------------------------------------------------
> ---------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast
> and easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
> -----------------------------------------------------------------------
> -------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users