Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 03:40:30 03:40


Login with username, password and session length


Pages: [1]
Print
Author Topic: [Solved] Parallel Port IO not working properly  (Read 3308 times)
0 Members and 1 Guest are viewing this topic.
usrrsr
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 11
-Receive: 6


« 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.
« Last Edit: January 09, 2013, 05:29:25 05:29 by usrrsr » Logged
ptr
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 17
-Receive: 2


« Reply #1 on: January 08, 2013, 07:56:03 19:56 »

which operating system are you using?
Logged
titi
Active Member
***
Offline Offline

Posts: 229

Thank You
-Given: 3696
-Receive: 834



« Reply #2 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.
Logged
usrrsr
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 11
-Receive: 6


« Reply #3 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
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC