[PythonCE] Using serial ports

David McNab rebirth at orcon.net.nz
Sun May 31 23:27:34 CEST 2009

On Sun, 2009-05-31 at 23:08 +1200, David McNab wrote:
> Also, I tried the 'ceserial.py' module which has popped up on some
> discussions, but it crashes in its Serial.open() method with a most
> unhelpful exception string '50'.

More info on that:

Seems that Serial.open() gets a bad return code when it calls
windll.coredll.SetupComm() to set the buffer sizes. If I comment out the
exception, then self._configurePort crashes with the same exception.

I'm trying to open COM1: on an h4350.

Can anyone please shed some light.


More information about the PythonCE mailing list