Using COM2: on a Pocket PC emulation platform

I'm using MS Visual Studio 2005 and using the device emulator on a Pocket PC (ARMV4) project.  I can run a hyper terminal like program, vxHPC, to communicate from serial port 0 mapped to PC COM4.  I have a cable connected from COM3 to COM4.  WinXp Hyper terminal is running on the PC connected to PC COM3.  The vxHPC is configured to connect to COM1:    PS. Active sync is configured for network and USB and has COM and COM/DMA disabled.

This setup work great.  I can talk back and forth using the pocket PC COM1: (serial 0 port).

The problem is using COM2: on on the pocket PC.  I connect the cable from port COM3 and COM5 and configure pocket pc serial port 1 to PC COM5.  I get an error when I attempt to open COM2: using the pocket pc terminal program (vxHPC)

QUESTION: Does COM2: fail to open because the Pocket PC emulation platform only has one UART port   Is this because COM2: is reserved for something else or just not configured

I know that COM3: and COM4 :on the pocket pc are reserved for the infrared device.  And Bluetooth is used on COM6,7,8.

My hardware target has two UARTs and has both COM1: and COM2: accessible, but how do I go about getting the emulation platform to support more than one UART

Thanks,
Steve
< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />



Answer this question

Using COM2: on a Pocket PC emulation platform

  • ursa

    I have a problem to communicate my pocket agenda (Casio PV200) to SW PCSync in my note book via serial to USB converter. However, I need to be able to set any one of com port (1 to 5) but I do not know how to do it. Everytime I started data communication from my agenda to note book I got an error meesage 'an error has occurred during initialization of Serial port. I installed a driver from the USB to serial port converter but I do not see any com port has been created when I checked via Device manager. If you have any idea to overcome this problem, please let me know. Thanks

  • Dragonslayer

    Hi,

    I'm trying to connect my 8250 mobile with my PC. Its working but the port assignment differs at each time of connection. Is there any way to make it in a stable port, which would facilitate me to code easily. Hope u'll have some useful suggestions.

    Thanks,

    Devi.



  • Kevin Martin

    The DeviceEmulator emulates 3 UARTs:

    Serial Port 0: appears inside the emulator as COM1: that apps can use.
    Serial Port 1: The second UART is reserved for the WinCE kernel debugger and doesn’t have a device driver, so it doesn’t get a COMx: name that apps can use. The kernel sometimes prints debug messages out via this serial port as it runs.
    Serial Port 2: The third is the IRDA port, and is assigned the name COM3:.


    Barry

  • Using COM2: on a Pocket PC emulation platform