> I have a driver using COM port internally. I need accurate read timing
Why _ever_ there is a need for such a strange thing?
First of all, COM port - if used in a mainstream normal mode of modem or null-modem connection - just plain does not support accurate timing.
In MS-DOS era, there were some hardware+software products which _require accurate timing_ over a COM port, but this is more or less a perversion which is nearly impossible to implement in Windows.
And even in this case, you only need timings on writes you issue, to satisfy the device which requires them.
> When I have about 30 bytes pending the system will reset / hang.
What does it mean "reset"? crashed? have you ever disabled automatic reboot on crash in Control Panel/System? what about memory dumps analyzis?
Hang? can you connect a debugger to it? can you use CrashOnCtrlScroll to make a memory dump of this hang?
Also note that accurate timings on the COM port in _Virtual PC_ is a boring and failed joke. :-) the virtualization will spoil the timings to a degree so major that your efforts are useless.
--
Maxim S. Shatskih
Windows DDK MVP
http://www.storagecraft.com