Com Port error

J

Jim Gainsley

We are attempting to run some 16-bit software which ran nicely under
Win98SE, but fails to communicate with Com 1 under WinXP Pro SP2. We get the
message in a command prompt window in a dialogue box titled MS-DOS
Subsystem, "Driver doesn't support baud rate (9600). Close Ignore" We've
tried several baud rates with the same result. Each time we configured the
com1 port in Device Manager for the intended baud rate.

I don't find anything in the Resource Guide about this. Anyone have any
ideas about what we can do?

Jim
 
R

Rick Rogers

Hi,

You should check with the software distributer for assistance. By the by,
WindowsXP does not support 16-bit programs that attempt to directly address
the system hardware. Software needs to pass hardware instructions to the
operating system.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
R

Robert Gault

Jim said:
We are attempting to run some 16-bit software which ran nicely under
Win98SE, but fails to communicate with Com 1 under WinXP Pro SP2. We get the
message in a command prompt window in a dialogue box titled MS-DOS
Subsystem, "Driver doesn't support baud rate (9600). Close Ignore" We've
tried several baud rates with the same result. Each time we configured the
com1 port in Device Manager for the intended baud rate.

I don't find anything in the Resource Guide about this. Anyone have any
ideas about what we can do?

Jim
What is the program you are trying to run?
 
R

Robert Roland

We are attempting to run some 16-bit software which ran nicely under
Win98SE, but fails to communicate with Com 1 under WinXP Pro SP2. We get the
message in a command prompt window in a dialogue box titled MS-DOS
Subsystem, "Driver doesn't support baud rate (9600). Close Ignore" We've
tried several baud rates with the same result. Each time we configured the
com1 port in Device Manager for the intended baud rate.

My guess is that your application is programmed to access I/O
registers directly, and not through Windows' API calls, as it should.
Windows 98 allows such direct hardware access, but XP does not.

The obvious solution is, of course, to upgrade the software to proper
32-bit design, but that may not be a possibility for you?

You might try to install '98 on a virtual machine and see if VMware's
hardware emulation can handle your situation.
 
J

Jim Gainsley

The program is a C8051 compiler for the Dallas cpu by Kiel and they do not
provide an upgraded version for this particular CPU..
 
J

Jim Gainsley

Okay we can try that, just a minute... Well it doesn't work but I get a
different message, simply, "cannot communicate with port 1". This is a
standard Keil message. And no, we can't get a 32bit version of this
particular complier. Any other thoughts?

Jim
 
R

Robert Gault

Jim said:
The program is a C8051 compiler for the Dallas cpu by Kiel and they do not
provide an upgraded version for this particular CPU..

Are you referring to a program from this site, http://www.keil.com/ ? I
did not see a program that would run under WinXP. I might have some
suggestions if I knew exactly what you were trying to do.
 
R

Robert Gault

On a second look I did find this.
Keil Evaluation software
"Your computer must meet certain minimum system requirements for the
evaluation software to function properly.

* Windows 98, Windows NT Version 4, Windows 2000, Windows XP
* Mouse or Similar Pointing Device
* 30 Megabytes Free Hard Disk Space
* 128 Megabytes of RAM"

So if I'm looking at the correct company, your software should run. Have
you checked with Keil product support?
 
R

Robert Roland

Well it doesn't work but I get a
different message, simply, "cannot communicate with port 1".

Did you remember to map the virtual COM port to a physical one?
 
J

Jim Gainsley

They do have a program that works with later cpu's, but not the Dallas
DS2250-64-16. Thanks a lot for your insights--keep;em coming<g>!

(Incidentally we have found a way to make this work by using a USB to RS232
converter cable, where the USB driver is configured for an unused com port,
but we'd prefer to have it work directly.)

Jim
 
R

Robert Roland

No, how does one do that?

It depends, of course, which visualization software you are using. I
use VMware Workstation, and I do it like this:

- Before you start your virtual machine, choose "Edit virtual machine
settings".
- In the "Hardware" tab, click "Add", and then "Next".
- Choose "Serial port", and click "Next".
- Choose "Use physical serial port on the host", and click "Next".
- Choose which physical serial port you have your device connected to
(COM1).
- Click "Finish".
- You will now have a new hardware device in your list, and when you
start your virtual machine, output will be piped through to your
physical port.
 
J

Jim Gainsley

Thanks very much! I'll see if it works for us--we have Virtual PC 2004 with
the sp.
 
R

Robert Roland

Thanks very much! I'll see if it works for us--we have Virtual PC 2004 with
the sp.

In VPC2004, the procedure us similar:

- In the console, click your machine and click "Settings".
- Choose the COM port, and then choose which physical COM port it
should be mapped to.
- Click "OK".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top