Garmin Geko 201/How to get data from a device

This article or section may contain out-of-date information. The information is no longer correct, or no longer has relevance. If you know about the current state of affairs, please help keep everyone informed by updating this information. (Discussion)

Please see making GPX Tracks for a more general view of loading data from GPS devices, which apply to all Garmin devices including the Geko series.

Once you have recorded tracks on your Garmin Geko 201 you will want to upload them to the project. (Works as well with Garmin foretrex 101 and probably other Garmin Devices.)

Setting up your Geko

For both platforms, make sure your Geko 201 GPS output is set to "Garmin"

Press the page button until you get to the page screen

Select "Setup" with the up/down buttons

Press "OK"

Select "Interface" with the up/down buttons

Press "OK"

Select "I/O Format"

Press "OK"

From the list select "Garmin"

Press "OK"

Press the page button twice to get back to the main menu.

Connecting your GPS to the PC

Connect your GPS to the PC using an appropriate cable. For example the Garmin RS232 PC Interface Cable. You can buy good cheaper cables with both power and data from gpsbitz (I got the power/data combo cable from gpsbitz through Ebay for £12 inc P&P and a new Geko 201 for £60 inc P&P.)

Then turn it into an executable program by issuing the following command:

chmod 755 gpstransfer

Then whenever you want to download from your Garmin to your PC, run the program you have just created by doing the following in your home directory:

./gpstransfer

All tracklog and waypoint data will be downloaded from your GPS into two files in your home directory. One will contain only waypoints. The other will have both waypoints and the tracks ('breadcrumb trail'). For example:

* 060314-0140-tracklog.gpx
* 060314-0140-waypoints.gpx

These were downloaded at 01:40am on 14th March 2006. The file name is made up of the date you downloaded the data from your GPS. The format is arranged so the listing will show chronologically and file names will not conflict.

Fault-finding

You may need to change

/dev/ttyS0

to one of the following, depending on which serial port you are using with your Garmin GPS:

If you use a cable serial-USB converter, or if your unit has a USB port, try with:

/dev/ttyUSB0

If you have more than one serial USB device plugged in, they'll be named /dev/ttyUSB1, /dev/ttyUSB2, and so on.

If you cannot talk to your serial port (GPS not recognised), it may be because you aren't a member of a group which is allowed to talk or listen to the serial port. You can fix this by changing the ownership of the serial port to you, or adding yourself to a group which can talk to the serial port. This change is normally permanent. For ease, I will suggest:

sudo chown <username> /dev/ttyS0

where <username> is your log-in name, and /dev/ttyS0 is the serial port the Garmin is connected to.

Also, do not change any settings (units, gps-Datum etc) while tracking. Do a hard reset when you bought a second-hand gps. (For a geko 201: hold down the up, oke, and page key, then turn on your gps).

IRQ troubles

GPSbabel may have trouble reading your serial port if something else starts sharing IRQ lines. It may happen that the serial port works for you one day, then fails. If this happens to you, try going into the computer BIOS and change the serial port address and IRQ, e.g. from com1 to com2.

It is worth remembering that you can debug gpsbabel with the -D switch. For example, gpsbabel -D9 -i garmin -f /dev/ttyS0 -o gpx -F /tmp/myfile.gpx This provides useful information to determine where the problem exists.

I managed to upload my first streetmap GPX within an hour of first unwrapping my first GPS receiver. You will only need to upload the tracklog to openstreetmap at: https://www.openstreetmap.org/traces/mine