Amazing. The OP pretty clearly asked about serial RX code on a PIC, and=20 we have no idea what the source of the data is, it could be a toaster=20 for all we know, but we have found a way to make it be a VM running a=20 USB to Serial converter! Joe W On 02/02/2014 05:10 PM, David C Brown wrote: > How can it claim to be a virtual machine if it won't run software that wi= ll > run on the system that it is virtualising? > > > On 2 February 2014 20:31, Darron Black wrote: > >> On 2/2/14, 12:36 PM, Wouter van Ooijen wrote: >>> Dwayne Reid schreef op 02-Feb-14 7:12 PM: >>>> Generally, I reset a timer every time a new byte comes in. When the >>>> timer expires, I consider that to be the end of the packet. >>>> >>>> That works pretty well for me but in my case, the bytes are fairly >>>> close to each other, and the time between packets is much longer than >>>> one byte time. This doesn't work if the packets are really close >> together. >>>> >>> And you'll get in trouble when an usb-to-serial converter is used. >>> >>> Wouter >> Yes... or virtual machines. >> >> I've had to write and maintain kernel-level device drivers that only >> exist to properly manage timeouts on otherwise straightforward serial >> level protocols. Even those drivers usually won't work when running >> software from virtual machines. >> >> If you're making a product, don't screw it all up with systems >> requirements from the 1990s. >> >> I will avoid any product if I can't run the user software or a >> development environment from a virtual machine. There's no excuse for >> that these days. >> >> >> Darron >> >> -- >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> > > --=20 Joe Wronski Stillwater Embedded Engineering www.stillwatereng.net --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .