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?
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.
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.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.