Serial buffer overflow occurs where?, in Virtual PC
ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu

ASPDeveloper.Net / VirtualServerFAQ.COM

Make sure you go to our home page for:

* Virtual Server 2005 FAQ
* ASP.Net 2.0 Information
* ASP.Net 2.0 Streaming Tutorials
* ASP.Net 2.0 HTML based Tutorials

Made possible by Business Internet Technology Shop (BitShop)



View :  Show duplicate posts
Virtual PC

Recent Virtual PC posts

Media Player too fast under VirtualPC
LPT2
VMAdditons - Win95
Mini newsgroup FAQ for the week of 12/25/2005
Secondary Drive Hangs
Should I use VirtualPC to split a PC?
Sound Card on Windows 2003 Server
Migrating Copy Of Drive
SSH does not work in VirtualPC guest
Linux
Logging into my newly installed OS...
Virtual Server 2005 R2
Host unavailable after Guest starts
Virtual Domain
VPC OS Licensing
Problems Updating Files in network drives
Tools for creating ISO Image
Virtual PC > Windows 2003 server > reboots unexpectedly after log
Mapping a drive to virtual pc on a different machine
VPC and ISA cards
Add Solution

Latest Topics

Table Of Contents


Post Reply |  This is Spam! | Mark as Spam

Serial buffer overflow occurs where?

Source: microsoft.public.virtualpc
Sent: 12/26/2005
From: "Norman Diamond" <(email address - cut out)am>
Message:

An application is being tested in a Windows XP Embedded SP2 guest machine
under Virtual PC 2004 SP1 on a Windows XP Pro SP2 real machine. Virtual PC
settings give the guest machine's COM1 control of the real machine's COM1.
The application calls SetupComm with both buffer sizes set to 1200. In
these tests the external device sends 1036 bytes at a time. Baud rate
57600, 8-bit byte plus parity, so each of these transmissions takes about
200 milliseconds. DTR is permanently enabled because the device requires
it. But the device is not capable of flow control (if we disable DTR then
we lose data instead of delaying it, and the idea of software flow control
is far beyond the capabilities of the device).

As background, on some real machines running Windows XP Pro SP2, the
application is getting CE_OVERRUN. We're trying to figure out what to do
about that. But at least we know where it's happening. (Some of our
experiments try a USB-serial adapter with a hardware receive buffer that's
either 384 bytes or 4K bytes, we're not sure which, but we're still getting
CE_OVERRUN.) Anyway, we've never seen CE_RXOVER with this application on a
real machine.

Under Virtual PC the application sometimes gets CE_RXOVER instead of
CE_OVERRUN. Where can this be happening? Does Virtual PC set a buffer size
that's smaller but just happens to be good enough 99% of the time, and then
somehow reflect its own error into the guest machine's serial status? But
doesn't the guest machine think the serial port is a real one (and maybe
isn't it really the real one), so how could it be getting hit with a
software error that isn't occuring in the guest machine?

In this setup, where can CE_RXOVER possibly be coming from?



Post Reply |  This is Spam! | Mark as Spam

Related Messages


Post Reply |  This is Spam! | Mark as Spam


Table Of Contents



Other groups

 
Virtual PC (Mac)(3511) Virtual PC(11949) Virtual PC (French)(428)
Virtual Server 2005(5445)
Search
in:
Our Sponsors
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: