I don't have a 12Map in the lab to test on.  Frankly, that model is so old that if nobody's noticed this in the previous 12 years, it's not likely to get much attention.   The devices of this age were before Garmin documented their serial protocol, so there was a lot of guessing and it looks like some of the guesses were wrong for that specific device.  That era of device had a really weird 'islink' thing in their route protocol that might explain the doubling you're observing.  So something is probably jumping the track in garmin.cc:route_write() or route_waypt_pr or possibly down in GPS_A201_Send() in gpsapp.cc, but without a device and a programmer to walk through it in a debugger (and I see in two weeks nobody stepped up) it's going to be very difficult to diagnose and repair.

If you're willing to tear into the code we can give debugging tips, but it's really up to someone with the hardware to want it badly enough to work through the code issues.  Those older serial devices were a real pain.

Sorry to be the bearer of bad news.


On Mon, May 27, 2013 at 7:11 PM, Lucas Fisher <lucas.fisher@gmail.com> wrote:
I'm using gpsbabel to upload a route to my Garmin GPS 12MAP. After the upload (see Original Route) I find that on the Garmin for every legitimate route point there is a blank route point.  When I dump the routes from the Garmin the blank route points have coordinates of 179.999999916, 179.999999916. (See Downloaded Route).  I found http://comments.gmane.org/gmane.comp.hardware.gps.gpsbabel.general/4605 which suggests the Garmin dislikes special chars in the waypoint names, but I make all the point names just digits with no luck. 

I also noticed that the Garmin indicates data finished loading twice. The first time is quick, the second time takes a while longer. Not sure that if that is normal.

Any suggestions beyond manually deleting 400 empty route points?

Lucas

---- Original Route ----
This file has multiple routes.

gpsbabel -i gpx -f y.gpx -r -o garmin -F /dev/ttyUSB1

y.gpx:

<?xml version="1.0" encoding="UTF-8"?>
<gpx
  version="1.0"
  creator="GPSBabel - http://www.gpsbabel.org"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.topografix.com/GPX/1/0"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2013-05-27T23:33:34Z</time>
<bounds minlat="-23.781957937" minlon="132.978012127" maxlat="-23.646866068" maxlon="133.886356612"/>
<rte>
  <name>Section_1_Master</name>
  <desc>Generated from track Section_1_Master</desc>
  <rtept lat="-23.678570109" lon="133.717644425">
    <name>001</name>
  </rtept>
  <rtept lat="-23.679759908" lon="133.718206555">
    <name>002</name>
  </rtept>
  <rtept lat="-23.680877977" lon="133.724202231">
    <name>003</name>
  </rtept>
  <rtept lat="-23.679978579" lon="133.725056651">
    <name>004</name>
  </rtept>
---snip---

---- Downloaded Route ----
This is what I get back from the Garmin.

gpsbabel -r -i garmin -f /dev/ttyUSB1 -o gpx -F zr.gpx

zr.gpx:

<?xml version="1.0" encoding="UTF-8"?>
<gpx
  version="1.0"
  creator="GPSBabel - http://www.gpsbabel.org"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.topografix.com/GPX/1/0"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2013-05-27T23:47:07Z</time>
<bounds minlat="-23.781956518" minlon="132.978011370" maxlat="179.999999916" maxlon="179.999999916"/>
<rte>
  <name>RPT001-______</name>
  <rtept lat="-23.678568089" lon="133.717646599">
    <name>RPT001</name>
  </rtept>
  <rtept lat="-23.679758990" lon="133.718204498">
    <name>RPT002</name>
  </rtept>
  <rtept lat="179.999999916" lon="179.999999916">
    <name>______</name>
  </rtept>
  <rtept lat="-23.680880154" lon="133.724201918">
    <name>RPT003</name>
  </rtept>
  <rtept lat="179.999999916" lon="179.999999916">
    <name>______</name>
  </rtept>
  <rtept lat="-23.679978931" lon="133.725054860">
    <name>RPT004</name>
  </rtept>
  <rtept lat="179.999999916" lon="179.999999916">
    <name>______</name>

--- Debug info ---
gpsbabel -D2 -i garmin -f /dev/ttyUSB1

GPSBabel Version: 1.4.3
Tx Data:10 fe 00 02 10 03 : ...(PRDREQ  )
Rx Data:10 06 02 fe 00 fa 10 03  .. (ACK     )
Rx Data:10 ff 4f 81 00 c9 00 47 50 53 20 31 32 20 4d 61 70 20 53 6f 66 74 77 61 72 65 20 56 65 72 73 69 6f 6e 20 20 32 2e 30 31 20 00 56 45 52 42 4d 41 50 20 41 6d 65 72 69 63 61 73 20 48 69 67 68 77 61 79 20 4c 61 6e 64 20 44 61 74 61 20 31 2e 30 30 00 d0 10 03  ....GPS.12.Map.Software.Version..2.01..VERBMAP.Americas.Highway.Land.Data.1.00. (PRDDAT  )
Tx Data:10 06 02 ff 00 f9 10 03 : .....(ACK     )
Unit:   GPS 12 Map Software Version  2.01
ID:     129
Version:        2.01Rx Data:10 fd 36 50 00 00 4c 01 00 41 0a 00 41 64 00 44 68 00 41 c8 00 44 c9 00 44 68 00 41 2c 01 44 2c 01 41 f4 01 44 f5 01 41 58 02 44 58 02 41 bc 02 44 bc 02 41 20 03 44 20 03 7e 10 03  P..L..A..Ad.Dh.A..D..Dh.A..D..A..D..AX.DX.A..D..A..D.. (UNKNOWN )
Tx Data:10 06 02 fd 00 fb 10 03 : .....(SESACK  )

Capability A10:
Capability A100: D104
Capability A200: D201 D104
Capability A300: D300
Capability A500: D501
Capability A600: D600
Capability A700: D700
Capability A800: D800
Link_type 1  Device_command 0
Waypoint: Transfer 100 Type 104
Route:    Transfer 200 Header 201 Type 104
Track:    Transfer 300 Type 300
Tx Data:10 0a 02 32 00 c2 10 03 : 2....(CMDDAT  Xfer PVT Stop)
Rx Data:10 06 02 0a 00 ee 10 03  .. (ACK     )
Tx Data:10 0a 02 05 00 ef 10 03 : .....(CMDDAT  Xfer Time)
Rx Data:10 06 02 0a 00 ee 10 03  .. (ACK     )
Rx Data:10 0e 08 05 1c dd 07 00 00 06 22 bd 10 03  ........ (DATTIM  )
Tx Data:10 06 02 0e 00 ea 10 03 : .....(ACK     )
Tx Data:10 0a 02 02 00 f2 10 03 : .....(CMDDAT  Xfer Posn)
Rx Data:10 06 02 0a 00 ee 10 03  .. (ACK     )
Rx Data:10 11 10 10 a6 13 a7 db e4 de e5 3f 42 1d 17 de 94 6d f5 bf b5 10 03  ........B....m.. (POS     )
Tx Data:10 06 02 11 00 e7 10 03 : .....(ACK     )
Waypoint type: 104
Chosen waypoint length 6
Tx Data:10 0a 02 07 00 ed 10 03 : .....(CMDDAT  Xfer Wpt)
Rx Data:10 06 02 0a 00 ee 10 03  .. (ACK     )
Rx Data:10 1b 02 8e 01 54 10 03  .. (RECORD  )
Tx Data:10 06 02 1b 00 dd 10 03 : .....(ACK     )
Rx Data:10 23 41 5f 5f 5f 5f 5f 5f ff ff ff 7f ff ff ff 7f 00 00 00 80 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 12 00 03 09 10 03  ................................................................. (WPTDAT  )


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@lists.sourceforge.net
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc