Hi all,
I am having a 16 bit memory pc card, and in the inf file, i had used
logconfigoverride to modify the default 8 bit access to 16bit access…
OS: - Windows 2000
I use WRITE_REGISTER_USHORT(…) and READ_REGISTER_USHORT(…) to make
a 16 bit read/Write access to the devices on the card.
When i do read operation, the exact 16-bit address appears on the
address line
A0-A18 for example, the physical base address fixed at 0x60000 and the
offset added to it, say, 0x4 together 0x60004 appears on the address
line on logic analyser.
but, when i do the write operation for the same physical base address
at 0x60000 with offset 0x4, it appears on the address line as 0x60008
is there anything to do with the address of the common memory
addressed in the driver…or any chance of Bus Driver pcmcia.sys modifying
the common memory address value…
can anybody throw light on this…
Thanx,
shiv
Is the address declared as a PUSHORT? Ie
PUSHORT pPort;
…
WRITE_REGISTER_USHORT(pPort+4);
If so, this is a feature of C, you would need to cast pPort to PUCHAR
first if you want byte wise addition.
d
-----Original Message-----
From: shiva prasad [mailto:xxxxx@rassit.com]
Sent: Friday, October 11, 2002 2:43 AM
To: NT Developers Interest List
Subject: [ntdev] pcmcia Write Common Memory Address offset gets doubled
on the Address Bus
Hi all,
I am having a 16 bit memory pc card, and in the inf file, i had used
logconfigoverride to modify the default 8 bit access to 16bit access…
OS: - Windows 2000
I use WRITE_REGISTER_USHORT(…) and READ_REGISTER_USHORT(…) to make
a 16 bit read/Write access to the devices on the card.
When i do read operation, the exact 16-bit address appears on the
address line
A0-A18 for example, the physical base address fixed at 0x60000 and the
offset added to it, say, 0x4 together 0x60004 appears on the address
line on logic analyser.
but, when i do the write operation for the same physical base address
at 0x60000 with offset 0x4, it appears on the address line as 0x60008
is there anything to do with the address of the common memory
addressed in the driver…or any chance of Bus Driver pcmcia.sys
modifying
the common memory address value…
can anybody throw light on this…
Thanx,
shiv
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%