RE: [CAD_CAM_EDM_DRO] troubleshooting help
Posted by
Carol & Jerry Jankura
on 2002-02-18 17:45:25 UTC
Alan:
I don't know how this fits into the equation, but you'll remember that the
first printer ports used an 8255 parallel port interface chip. In addition
to the three ports that you mention, this port was at either $37B or $27B.
It allowed you to program the other ports. As I recall, ports $378 and $379
could be programmed as either input or output ports, while the port at $37A
could be split between input and output (the upper and lower halves of the
port could be either input or output). Now, the current printer port is, I
believe, integrated with a bunch of other functions. Does it still mimic a
complete 8255? If so, does it make any sense to program the chip? Is it
possible to get at all twenty-four pins that the 8255 originally supported?
-- Jerry
|The CMD port is at +1, IE, 889.
|
|The bit assignments are:
|
|#define CMD_MASK 0x1B
|
|#define SPP_STROBE 0x01 /* I nStrobe (pin 1) */
|#define SPP_AUTOFD 0x02 /* I nAutoFd (pin 14) */
|#define SPP_INIT 0x04 /* I nInit (pin 16) */
|#define SPP_SLC_IN 0x08 /* I nSelectIn (pin 17) */
|#define SPP_IRQE 0x10 /* I IRQ enab */
|#define SPP_LISTEN 0x20 /* ? direction */
|
|Notice that several pins are inverted, per the CMD_MASK.
|
|The motors jump, so yes, you have motor power. I suspect you are using
|the wrong port address, try the others. Also, are you using step/dir?
|or 4-phase drivers?
|
|Sending a 1, 0, 1, 0... sequence to the DATA port (888) should result in
|pin 2 going alternately high and low. Either put in a delay between
|OUT's, or wait for a key from the keyboard. THis way, you'll be able to
|see the changes on the multimeter or LED.
|
|Sending a 2, 0, 2, 0... sequence to the same port should result in pin 3
|going alternately high and low.
|
|Sending 1, 0, 1... sequence to 889 (CMD port) should result in pin 1
|toggleing.
|
|PORTS:
|
| 888 (378H) data
| 889 (379H) cmd
| 890 (37AH) status
|
| 632 (278H) data
| 633 (270H) cmd
| 634 (27AH) status
|
|Try these tests, and then we can advise you better!
|
|HTH
|
|Alan KM6VV
I don't know how this fits into the equation, but you'll remember that the
first printer ports used an 8255 parallel port interface chip. In addition
to the three ports that you mention, this port was at either $37B or $27B.
It allowed you to program the other ports. As I recall, ports $378 and $379
could be programmed as either input or output ports, while the port at $37A
could be split between input and output (the upper and lower halves of the
port could be either input or output). Now, the current printer port is, I
believe, integrated with a bunch of other functions. Does it still mimic a
complete 8255? If so, does it make any sense to program the chip? Is it
possible to get at all twenty-four pins that the 8255 originally supported?
-- Jerry
|The CMD port is at +1, IE, 889.
|
|The bit assignments are:
|
|#define CMD_MASK 0x1B
|
|#define SPP_STROBE 0x01 /* I nStrobe (pin 1) */
|#define SPP_AUTOFD 0x02 /* I nAutoFd (pin 14) */
|#define SPP_INIT 0x04 /* I nInit (pin 16) */
|#define SPP_SLC_IN 0x08 /* I nSelectIn (pin 17) */
|#define SPP_IRQE 0x10 /* I IRQ enab */
|#define SPP_LISTEN 0x20 /* ? direction */
|
|Notice that several pins are inverted, per the CMD_MASK.
|
|The motors jump, so yes, you have motor power. I suspect you are using
|the wrong port address, try the others. Also, are you using step/dir?
|or 4-phase drivers?
|
|Sending a 1, 0, 1, 0... sequence to the DATA port (888) should result in
|pin 2 going alternately high and low. Either put in a delay between
|OUT's, or wait for a key from the keyboard. THis way, you'll be able to
|see the changes on the multimeter or LED.
|
|Sending a 2, 0, 2, 0... sequence to the same port should result in pin 3
|going alternately high and low.
|
|Sending 1, 0, 1... sequence to 889 (CMD port) should result in pin 1
|toggleing.
|
|PORTS:
|
| 888 (378H) data
| 889 (379H) cmd
| 890 (37AH) status
|
| 632 (278H) data
| 633 (270H) cmd
| 634 (27AH) status
|
|Try these tests, and then we can advise you better!
|
|HTH
|
|Alan KM6VV
Discussion Thread
Rick Miller
2002-02-17 19:27:45 UTC
troubleshooting help
aspaguy
2002-02-17 19:46:59 UTC
Re: troubleshooting help
Rick Miller
2002-02-17 20:37:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
mariss92705
2002-02-17 20:51:47 UTC
Re: troubleshooting help
Rick Miller
2002-02-17 21:16:37 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
Rick Miller
2002-02-17 21:28:03 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
mariss92705
2002-02-17 21:29:42 UTC
Re: troubleshooting help
mariss92705
2002-02-17 21:58:58 UTC
Re: troubleshooting help
Rick Miller
2002-02-17 22:11:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
ballendo
2002-02-18 02:35:07 UTC
P-port 101 was Re: troubleshooting help
Alan Marconett KM6VV
2002-02-18 12:49:56 UTC
Re: [CAD_CAM_EDM_DRO] troubleshooting help
Bob Bachman
2002-02-18 15:52:25 UTC
Re: [CAD_CAM_EDM_DRO] troubleshooting help
Carol & Jerry Jankura
2002-02-18 17:45:25 UTC
RE: [CAD_CAM_EDM_DRO] troubleshooting help
Carol & Jerry Jankura
2002-02-18 17:53:29 UTC
RE: [CAD_CAM_EDM_DRO] troubleshooting help
Alan Marconett KM6VV
2002-02-18 18:00:16 UTC
Re: [CAD_CAM_EDM_DRO] troubleshooting help
dkowalcz2000
2002-02-18 18:55:13 UTC
Re: troubleshooting help
Bob Bachman
2002-02-18 19:12:34 UTC
RE: [CAD_CAM_EDM_DRO] troubleshooting help
Jon Elson
2002-02-18 20:11:20 UTC
Re: [CAD_CAM_EDM_DRO] troubleshooting help
Rick Miller
2002-02-18 20:13:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
Rick Miller
2002-02-18 21:14:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: troubleshooting help
ballendo
2002-02-19 02:35:16 UTC
more p-port 101 was Re: troubleshooting help
ballendo
2002-02-19 04:01:49 UTC
p-port alternative 8255PPI was Re: troubleshooting help
ballendo
2002-02-19 04:39:13 UTC
TTL 101 was Re: troubleshooting help
Carol & Jerry Jankura
2002-02-19 05:44:14 UTC
RE: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI was Re: troubleshooting help
ballendo
2002-02-19 06:32:49 UTC
p-port alternative 8255PPI
Robert Bachman
2002-02-19 06:57:42 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help
David Goodfellow
2002-02-19 08:37:36 UTC
Re: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI was Re: troubleshooting help
Carol & Jerry Jankura
2002-02-19 09:22:22 UTC
RE: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI
Alan Marconett KM6VV
2002-02-19 10:48:53 UTC
Re: [CAD_CAM_EDM_DRO] troubleshooting help
Bill Vance
2002-02-19 11:04:12 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help
Bob Bachman
2002-02-19 11:24:21 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help
Paul
2002-02-19 12:00:37 UTC
Re: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI
Alan Marconett KM6VV
2002-02-19 12:24:16 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help
Alan Marconett KM6VV
2002-02-19 12:42:17 UTC
Re: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI
wanliker@a...
2002-02-19 13:36:28 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help
Vajk Fekete
2002-02-19 14:24:21 UTC
Re: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI
Alan Marconett KM6VV
2002-02-19 16:06:28 UTC
Re: [CAD_CAM_EDM_DRO] p-port alternative 8255PPI
Ian W. Wright
2002-02-19 16:35:00 UTC
Re: [CAD_CAM_EDM_DRO] TTL 101 was Re: troubleshooting help