Sonsivri

Electronics => Hardware and Tools => Topic started by: usrrsr on January 08, 2013, 06:16:38 06:16



Title: [Solved] Parallel Port IO not working properly
Post by: usrrsr on January 08, 2013, 06:16:38 06:16
Hi
I am using LPT Debugger to write data to the parallel port.
Printer port is configured as EPP mode. I have got the program running of sorts, I can write to the port. The problem is that doesnt matter what value I pass to the data port D0,D1,D2 bit remains low however rest of the bits are working correctly also control port is also not writable.
I am using port 0x378 the default value,any help would be much appreciated.


Title: Re: Parallel Port IO not working properly
Post by: ptr on January 08, 2013, 07:56:03 19:56
which operating system are you using?


Title: Re: Parallel Port IO not working properly
Post by: titi on January 08, 2013, 10:53:07 22:53
Hi usrrsr,

Put the port in SPP mode (Standard Parallel Port) from the Bios.
In SPP mode, the latch keep the value send on the port.
In EPP (Enhanced Parallel Port) or ECP (Enhanced Capacity Port) Mode the port is in bi-directional mode, so the data dont stay on the port after the data is send.

Best regards.


Title: Re: Parallel Port IO not working properly
Post by: usrrsr on January 09, 2013, 05:28:26 05:28
@ptr : I am using Windows XP sp2 32 bit os
@ titi : Problem solved by using SPP mode thanks