The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2016, 09:39:18 21:39


Login with username, password and session length


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

Posts: 17

Thank You
-Given: 10
-Receive: 6


« on: January 08, 2013, 07:16:38 07: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, 06:29:25 06:29 by usrrsr » Logged
ptr
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 17
-Receive: 2


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

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

Posts: 192

Thank You
-Given: 1434
-Receive: 705



« Reply #2 on: January 08, 2013, 11:53:07 23: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
*
 Muted
Offline Offline

Posts: 17

Thank You
-Given: 10
-Receive: 6


« Reply #3 on: January 09, 2013, 06:28:26 06: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