Use in EPP mode

My x64 port of InpOut32
Post Reply
slarkin712
New User
Posts: 1
Joined: Tue Aug 13, 2024 3:29 pm

Use in EPP mode

Post by slarkin712 »

I have the latest version of inpout32 running on windows 10 in a 32-bit program. I have been able to confirm that the read/writes for the data, status, and control registers function as expected. I have checked the pin voltages with a multimeter and they are correct for the data I am using. I have also checked the values returned in code and they are correct. I have a PCIe to parallel port board connected to my PC. I have that connected to an external parallel device that requires EPP mode for communication. When I write to the address register and read the it back I get the correct value. The same is true for the EPP data register. But something is not working correctly. When I write the address register the same value is read back from the EPP data register, which is clearly not correctly. And vice versa, writing to the epp data register also writes to the address register. It's as if those two registers are the same address, even though I am communicating with them through base address + 3 for the address register and base address + 4 for the EPP data register. Has anyone been able to use inpout32 on Windows 10 using EPP? And does anyone have any clues as to why I am seeing the behavior I described? Or have any suggestions for further testing to figure out what is going on?

Thanks,
Sean
User avatar
phil
Site Admin
Posts: 7806
Joined: Sun Apr 06, 2003 11:12 pm

Re: Use in EPP mode

Post by phil »

Sorry I have nothing (others may??),
I've not really used the parallel port in anger since about 1995 at college. Even when I ported InpOut32, it was so I could use it to poke the serial port into using non-standard BAUD rates by fiddling with the hardware registers directly! I seem to recall though that EPP never worked (based on other peoples feedback) and needing to modify the BIOS port modes to make sure it was disabled (but that may just be my lack of understanding).

I haven't even had a parallel port for the last 10 years plus, and Inpout32 is not supported (by me at least) any more (for various reasons, primarily that I didn't write it, just converted the code to x64 which I can no longer modify as I cant sign the drivers).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
ericshug
New User
Posts: 8
Joined: Mon Apr 05, 2021 8:28 am

Re: Use in EPP mode

Post by ericshug »

I ran into a similar issue with a PCIe to parallel port board a while back. In my case, the registers were getting mixed up because the board didn’t fully support EPP mode, which was frustrating. I ended up having to update the drivers and tweak a few settings in the code to get everything working. You might also want to test with different software or check if there’s any configuration tool for your board that can help clarify how those registers are mapped.
Post Reply