---Parallel port testing

Dec 18, 2004 5 Replies

Dear All, I am engaged in creating a progran to test the embeded linux system during production. Now my problem is how can test the parallel port without other device (printer, pc ,etc). I hope to have a simple circuit connected to the port and build a user program to send some data and recieve it by iteself.



Somebody is expexried with this and help with that?



Bill Zhao



Check out a book by Craig Hollabaugh called, "Embedded Linux; Hardware, Software and Interfacing". It's also covered in a number of O'Reilly books on Linux programming.

Google might be worth a try also...

found this...

formatting link

Hallo Bill,

Bill Zhao schrieb:

You can build a small testsocket with a microprocessor which takes all

256 bit combinations as testpattern and replys by acking or e.g raising "out of paper". This would be a 10-20$ device, not including development :-).

Regards, Kurt

PiN - Präsenz im Netz GITmbH Kurt Harders http://www.pin-gmbh.com

Kurt Harders ??:

there some materials about this kind of device? I never seen it.

Its not an existing device. Depending on the quantity you have to check it may be a reasonable device to build. If you want me to do that please ask.

Regards, Kurt

PiN - Präsenz im Netz GITmbH Kurt Harders http://www.pin-gmbh.com

Kurt Harders pravi:

You probably wanna also print like /dev/null but faster to make a quicktest. Here is a description and a schema of testing dummy I used ten years ago on (now dumped) Am286. It was made from connector, wire and a LED. This was somehow tested on prehistoric 286 and it may fit for your needs.

Leave all unused lines in the air (=not connected, i.e. undefined) to leave them on defaults. You may connect other lines together if you wish

- but you test your PC then. You might want to put a LED (4.7V LED) on anyone of data lines between GND to have lightshow for better interpretation. You might also want to connect to ground through a small capacitor of 10nF or a resistor of 4KE which was not originally used.

1=-STROBE --!>!+ 10=-ACK

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required