CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ?

Posted by Jon Elson
on 2001-10-20 22:08:04 UTC
krlux wrote:

>
> I've tested bidirectionality in ECP and EPP modes and have not got it to
> work. Do you have firsthand knowledge that they are bidirectional ? I've
> set up the control register for bidirectional operation but I can't get the
> pull up circuitry to disengage.

It is not just complicated, it is G*D D**N complicated. I had to go to the
web site for the maker of the floppy/parallel port chip on my motherboard
to figure the darn thing out. The registers that control the port are at the
usual 278 or 378 addresses, but the registers that set up the chip to
allow the extra modes and capabilites are at 401, I think. Anyway,
Once I found the right mode through BIOS settings, it did work, at
least in IEEE-1284 mode. This does handshaking of bytes in and
out, so you need external hardware to acknowledge each transfer.
But, I think you can set it to EPP mode and not use the ports that
cause the 1284 cycles. To set it for input, you need to set the 0X20
bit in the control register, for the 378 printer port, that would be
0X37A. Then, you should be able to read 8 data bits from the standard
data port 0X378. I found the ducument on the SMSC FDC37C665
series of chips to be very helpful in getting the last little pieces of info
together to make it work. See http://www.smsc.com/main/datasheet.html

>
> Agreed. Some of those modes are DMA driven, which would really be nice.

Unfortunately, using DMA from a user mode program in Windows (any
version) is practically impossible. I have tried - the problem is you
need a physical address to program into the DMA controller, and, although
people claim there's a way, I have never been able to get it to work.
It is not a parallel port problem, but a Windows problem to get an address
the DMA controller can use.

Jon

Discussion Thread

krlux 2001-10-18 17:57:57 UTC Caliper to PC interface, Part II: Data Format ?????? Help ? Doug Fortune 2001-10-18 18:18:20 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? krlux 2001-10-18 18:22:43 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? krlux 2001-10-18 20:57:57 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? Graham Hollis 2001-10-19 08:43:34 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? krlux 2001-10-19 09:26:42 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? Jon Elson 2001-10-19 11:15:03 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? Bill Phillips 2001-10-19 13:11:15 UTC Re: [CAD_CAM_EDM_DRO] Caliper to PC interface, Part II: Data Format ?????? Help ? wayne_j_hill@y... 2001-10-19 22:02:27 UTC Re: Caliper to PC interface, Part II: Data Format ?????? Help ? krlux 2001-10-20 00:18:23 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? ccs@m... 2001-10-20 06:09:44 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? krlux 2001-10-20 07:28:41 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? ccs@m... 2001-10-20 07:49:41 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? brian 2001-10-20 20:44:44 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? Jon Elson 2001-10-20 22:08:04 UTC Re: [CAD_CAM_EDM_DRO] Re: Caliper to PC interface, Part II: Data Format ?????? Help ? wayne_j_hill@y... 2001-10-21 10:23:57 UTC Re: Caliper to PC interface, Part II: Data Format ?????? Help ?