Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
10/16/2008
To use the development tools, you must first configure the communication (COM) ports appropriately. Then, you must edit the MSN Direct receiver-emulator configuration file to map to the right COM port.
To complete this task, you must have already set up your hardware configuration. For more information, see How to Use the MSN Direct Development Tools.
To configure the COM ports
On the development workstation, check which COM port that the null modem cable is connected to. For example, COM1 or COM2.
- To view the COM ports on your development workstation, open the Device Manager Control Panel item and expand Ports (COM & LPT).
In Windows Explorer, browse to %_WINCEROOT%\PUBLIC\SERVERS\OAK\BIN.
Open MicrosoftPND.cfg.
Modify the commandLineArgs line to show the correct COM port. For example:
-commandLineArgs COM2
Save MicrosoftPND.cfg.
Robust Programming
A COM port, also known as a serial port, includes the internal hardware component and the external DB-9 connector that accepts connections from a serial cable. A COM port must be located on the target device so that you can establish a serial connection between the target device and the desktop workstation. If your target device does not have a COM port, you can use a USB port and a USB to Serial converter to support connections to USB devices through serial ports.
When you are testing MSN Direct on a run-time image that includes ActiveSync, you must use a serial null-modem cable to connect the target device to the development workstation that runs the receiver emulator. The serial null-modem cable must have the Carrier Detect (CD) pin removed from the Data Set Ready (DSR) line. This must be performed to prevent all serial interrupts from a standard serial null-modem cable from triggering ActiveSync to display a new connection dialog box. For more information, contact the MSN Direct team for information about the Hardware Reference Design Kit.