Re: Communicating through a serial port

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Not every UART chip will support 2 stop bits. You should check the return
values of all of your serial calls and make sure you aren't ignoring an
error.

Paul T.

"Arnau Font" <a@xxx> wrote in message
news:O%23NplCj1FHA.3204@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a program in eVC that comunicates my PDA with a terminal via the
> serial port. The communication params are:
>
> 9600 bauds
> Even parity
> 8 bytesize
> 2 stopbits
>
> This program usually works with most PDA (i've tried in a Dolphin 7400,
> Dolphin 9500, Cassiopeia EG-800) but in a Cassiopeia EM-500 it doesn't
> work.
> Looks like the terminal receives the information, but it returns that it
> has
> received it wrong, as if the data was corrupted.
>
> The port configuration is the following:
> PortDCB.BaudRate=9600;
> PortDCB.ByteSize=8;
> PortDCB.Parity=EVENPARITY;
> PortDCB.StopBits=2;
> PortDCB.fNull=false;
> PortDCB.fDtrControl=DTR_CONTROL_DISABLE;
> PortDCB.fParity=true;
>
> The rest of the parameters are left as default.
>
> Any ideas?
>
> Thanks!
>
> Arnau.
>
>
>
>


.



Relevant Pages

  • Re: PDA with usb host support and programming on VS2003
    ... Most PDA have RS232 support. ... We currently have USB device that connects to a PC and gets recognized ... as serial port device.This USB device emulates a serial device. ...
    (microsoft.public.dotnet.framework.compactframework)
  • 2.6.20-rt5: serial port trouble?
    ... However, it seems that in 2.6.20-rt5, CONFIG_PREEMPT_RT upsets serial port ... and therefore no network data is sent. ... # ACPI (Advanced Configuration and Power Interface) Support ...
    (Linux-Kernel)
  • Re: 2.6.23-rt1 lockup after loading HAL deamon
    ... I tried to recompile with those options enabled, kernel and linux boots and loads fine, ... on serial port? ... # CPUFreq processor drivers ... # PCCARD support ...
    (Linux-Kernel)
  • Re: Local Printing with IE
    ... The problem may be that the CE5 does not support such type of printer. ... but installing serial port sniffer between printer and your ... printing support component to your platform in PB? ... I hope that the debug messages will indicate anything ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 2 Gigabyte ddr2 memory modules for P5K WS
    ... P5K because it has a serial port and I need one for an old Wacom ... and it appears to be pretty stable with 8 gigs of memory. ... this requires chipset and motherboard support. ... if there would be any real difference in speeds. ...
    (alt.comp.periphs.mainboard.asus)