Tech Support > Microsoft Windows > Drivers > Problem! While accessing IO port addresses in Win2k and XP
Problem! While accessing IO port addresses in Win2k and XP
Posted by mahi on October 26th, 2005



Hi Everybody,
With our 16 bit PCMCIA PC card we are able to access Attribute
Memory and Common memory locations,but we are not able access IO port
locations.
The following lines are the Override section of our INF file.

[PCCARD.NT.LogConfigOverride]
LogConfig = Override0

[Override0]
ConfigPriority = NORMAL
IOConfig = 50@400-4FF%FAF
IRQConfig = 3,4,5,7,9,10,11,12,15 ; IRQ
MemConfig = 1000@0-FFFFFFFF%FFFFF000 ; Attribute Memory
MemConfig = 4000@0-FFFFFFFF%FFFFC000 ; Common Memory
PCCardConfig = 3(AC M XM1) ; ConfigIndex

For accessing Memory Iam using WRITE_REGISTER_XXXX(),
READ_REGISTER_XXXX() functions and to access IO Port locations Iam
using WRITE_PORT_XXXX() and READ_PORT_XXXX() functions.

We are not getting the correct data what we written to the Port.
What could be the reason?
Any changes are required in INF file?
What could be the PCCardConfig line in the INF file.

Please help me.

Thanks in Advance.
Mahender.