The problem is that by default,
Microsofts Windows NT 4.0/2000/XP serial communication driver pre-allocates all the resources (IRQs, etc.)
even though the port is not opened. To solve the problem, ports that will be controlled by
COMM-DRV/NT must disable ports that are under the control of Windows NT communication
driver.
Windows 2000 & Windows XP Solution:
-
Download
SerNew.zip.
-
Follow the instructions to install on
the specific COM1-COM2 ports you will be using.
-
You should now be able to use COMM-DRV/NT
on COM1 and COM2.
Windows NT 4.0 Solution:
Solution 1:
If you are not running any serial
communication applications on any port, you can simply issue the command
at a DOS prompt or in Start->Run dialog box.
net stop serial
The above command will disable the Windows
NT 4.0 serial communication driver. As such all serial communication ports
will be disabled for standard serial communication applications.
Solution 2:
You can simply prevent the Microsoft Windows
NT 4.0 driver from touching the specific serial port you want to use with
COMM-DRV/NT. To do this
Run REGEDIT.EXE to modify the
registry. Assuming you want to work with COM2. You can disable only COM2 by adding the
following registry entries.
Create the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2
Add the following values to the keys below. They should all
be REG_DWORD except COM2 is REG_SZ.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\DisablePort
= 1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\DosDevices
= "COM2" HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\Interrupt =
0x3 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial2\PortAddress
= 0x2F8
When done, type the following in a DOS window to effect
the change.
Net stop serial Net start serial
You can now use the port with COMM-DRV/NT.
To re-enable the port simply edit the
registry and change the
DisablePort to zero. When done, type the following in a DOS window to effect
the change.
Net stop serial Net start serial
You can now use the COM port with any
Windows communication application.
|