Troubleshooting your GPS connection
The preceding sections help to identify and solve most of the problems encountered when connecting a GPS receiver. However, situations may arise in which you continue to encounter problems connecting your GPS receiver despite verifying that both your GPS and software have been configured correctly, and your GPS is connected to the device with the correct cables. This section discusses some of these situations, as well as tools to help troubleshoot your GPS connection.
“Error 55 opening COM1” message when activating the GPS
This error may occur when software attempts to open the serial port, such as COM1, when the port has already been opened by another application. Any application that uses the serial port could be responsible for this situation. On Windows Mobile devices, however, the application is usually Microsoft ActiveSync, drivers for keyboards, or programs used to configure GPS receivers. It is common on Windows Mobile devices for applications to not release the serial port even though the application may no longer be running.
The solution on Windows Mobile devices is to perform a soft reset, or reboot, of the device. In practice, it is a worthwhile habit to always perform a soft reset of the Windows Mobile device when switching from ActiveSync to using a GPS and vice versa.
This error message may also occur on PCs that have Microsoft ActiveSync running in the background. The solution in this case is to open the Connection Settings dialog box in ActiveSync and uncheck the Allow serial or infrared connection to this COM port check box. This will disable ActiveSync from locking the serial port.
Pocket Outlook’s Inbox opens when connecting your GPS receiver to a Windows Mobile device
This situation may occur if you are using a portable keyboard that connects to the serial port of your Windows Mobile device. The portable keyboard usually has an associated program that runs in the background and regularly checks the serial port for the keyboard.
The solution is to disable or exit the keyboard software before connecting your GPS receiver. You may also need to do a soft reset of your Windows Mobile device.
Using HyperTerminal or Putty to test your GPS connection
HyperTerminal and Putty can be very useful tools for testing your GPS connection communication parameters and cables and verifying that the GPS receiver is outputting data using the selected GPS protocol. Both of these applications can also be useful for determining whether or not the cause of the connection problem is your mobile GIS software. In most cases your mobile GIS software should be able to connect to your GPS receiver if HyperTerminal or Putty connects successfully.
Hyperterminal is shipped with Windows XP. For later versions of Windows, HyperTerminal can be downloaded from the internet. Putty is an open source alternative to HyperTerminal for Windows, Unix and soon to be MacOS.
Opening HyperTerminal on PCs
Hyperterminal is shipped with Windows up to and including XP. For later versions of Windows, HyperTerminal can be downloaded from the internet.
To open HyperTerminal on PCs running Windows XP, click Start > Programs > Accessories > Communications > HyperTerminal. This opens HyperTerminal with the New Connection dialog box. Type GPS in the Name field of the New Connection dialog box and click OK. Click OK in the Connect To dialog box.
In HyperTerminal, click the Properties button to open the properties dialog box.
In the Properties dialog box (which will be titled ‘GPS Properties’) select the COM port you are using to connect to your GPS from the list in the Connect Using drop-down list.
Click the Configure button to open the selected COM port’s properties. On the COM Properties dialog box, select the communication parameters to match the settings on your GPS receiver.
Click OK to save your settings and return to the main HyperTerminal window. Click the Call (‘telephone’) button to connect to your GPS receiver.
The HyperTerminal window should show the data being received from your GPS receiver—for example, ASCII NMEA sentences or illegible TSIP binary data. No data displayed in the HyperTerminal window indicates a connection problem to your GPS receiver