No GPS data

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
W126
Experienced MS/Extra'er
Posts: 153
Joined: Sun Aug 24, 2014 10:32 am

No GPS data

Post by W126 »

Tunerstudio doesn't get any GPS data.
I found the following in TunerStudioAppDebug.txt:

10.09.16 08:00:03 :Info: Initializing GPS.
10.09.16 08:00:03 :Warning: No values set for GPS setting: Bluetooth Port
10.09.16 08:00:03 :Info: Initializing GPS Interface: RS232 Serial Interface
10.09.16 08:00:03 :Debug: GPS started
10.09.16 08:00:03 :Info: Ready
10.09.16 08:00:05 :Info: Opening port: COM8
10.09.16 08:00:07 :Info: GPS Connection Error, resetting Connection.

What can I do ?
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

What type of GPS is it?
It looks as though it is failing to even open the port.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
W126
Experienced MS/Extra'er
Posts: 153
Joined: Sun Aug 24, 2014 10:32 am

Re: No GPS data

Post by W126 »

It's the internal GPS of my notebook Lenovo T430.
The GPS itself seems to work.
GPS1.jpg
GPS2.jpg
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

Open Mini-Term
Set it to the port and baud, open the port.

Let's see what is coming out for NMEA data
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
W126
Experienced MS/Extra'er
Posts: 153
Joined: Sun Aug 24, 2014 10:32 am

Re: No GPS data

Post by W126 »

that's what I got:

$GPGGA,,,,,,0,00,0.5,,M,,,,*00

$GPGSV,3,1,11,09,73,076,34,07,48,170,21,06,42,223,,02,41,281,*71

$GPGSV,3,2,11,23,41,076,,30,23,189,,16,20,064,,05,15,299,*7B

$GPGSV,3,3,11,26,14,035,,29,09,339,,03,08,124,,,,,*49

$GPGLL,,,,,200047.001,V,N*7A

$GPGGA,,,,,,0,0,,,M,,,,*1B

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPGST,200047.001,0.000,,,135,,,*50

$GPRMC,200047.001,V,,,,,,,120916,,,N*40

...
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

Do you ever get a 3D fix?
In the screen shot you have a 2D fix.
In that data you don't have a fix TS doesn't start publishing the GPS data until it gets a fix.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
W126
Experienced MS/Extra'er
Posts: 153
Joined: Sun Aug 24, 2014 10:32 am

Re: No GPS data

Post by W126 »

yes, data changes like this:

$GPGGA,,,,,,0,00,0.5,,M,,,,*00

$GPGSV,3,1,12,09,61,079,37,07,60,161,46,02,40,265,30,30,36,189,36*7E

$GPGSV,3,2,12,06,31,215,38,23,30,080,45,05,26,301,22,16,22,051,24*7F

$GPGSV,3,3,12,26,11,025,17,29,09,328,,33,,,31,49,,,31*79

$GPGLL,5334.053196,N,00957.550393,E,202825.000,A,A*5D

$GPGGA,202825.000,5334.053196,N,00957.550393,E,1,9,1.01,8.048,M,,,,*06

$GPGSA,A,3,09,07,02,30,06,23,05,16,26,,,,2.22,1.01,1.98*0E

$GPGST,202825.000,4.1,7.4,2.8,143,6.2,5.0,21*50

$GPRMC,202825.000,A,5334.053196,N,00957.550393,E,0.000,146.1,120916,,,A*65
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

The data is changing, but the GPGGA still says the fix is invalid.

$GPGGA,,,,,,0,00,0.5,,M,,,,*00
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
W126
Experienced MS/Extra'er
Posts: 153
Joined: Sun Aug 24, 2014 10:32 am

Re: No GPS data

Post by W126 »

sorry, I'm not a gps expert, I tried again.
I still get "GPS Connection Error, resetting Connection." in TunerStudioAppDebug.txt.
GPS3.jpg
$GPGSV,4,1,13,22,81,091,37,03,75,260,18,01,62,142,40,17,41,291,22*78

$GPGSV,4,2,13,11,38,162,25,14,38,057,25,23,29,195,33,19,28,313,13*79

$GPGSV,4,3,13,31,22,089,36,32,12,043,21,12,04,004,,06,03,304,*7D

$GPGSV,4,4,13,09,02,207,,,,,,,,,,,,,*45

$GPGLL,5334.064443,N,00957.525183,E,161337.000,A,A*5B

$GPGGA,161337.000,5334.064443,N,00957.525183,E,1,9,1.05,4.648,M,,,,*0E

$GPGSA,A,3,22,03,01,17,11,14,23,31,32,,,,1.84,1.05,1.51*0D

$GPGST,161337.000,9.4,8.0,4.9,137,6.7,6.4,18*51

$GPRMC,161337.000,A,5334.064443,N,00957.525183,E,0.000,323.4,130916,,,A*66
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

Ok there is should be reading, but only if is can open the port...

So you are getting the port open from Mini-Term, but it fails to open every time from TS's GPS?
That is interesting...
Not sure.. I need to think how that could happen.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
2002tiiguy
Helpful MS/Extra'er
Posts: 36
Joined: Wed Sep 14, 2016 3:05 pm

Re: No GPS data

Post by 2002tiiguy »

im having this same issue, only difference that i can personally see is in the dropdown box in the mini-term you can select 4800 as the baud rate where in the gps menu, you cannot. would this be a big issue to change it for the next update?
LT401Vette
Super MS/Extra'er
Posts: 12684
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: No GPS data

Post by LT401Vette »

4800 is an odd baud this century.
No big deal to add a baud to the dropdown, but if that is all the issue is; you can type in any baud you need. It will take it.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: No GPS data

Post by jsmcortina »

LT401Vette wrote:4800 is an odd baud this century
Not necessarily. From memory, my TechEdge widebands uses 1200 baud.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
2002tiiguy
Helpful MS/Extra'er
Posts: 36
Joined: Wed Sep 14, 2016 3:05 pm

Re: No GPS data

Post by 2002tiiguy »

i know, you were the one that told me that, but however it comes up as garbled text on the debug log, which looks pretty close to what you get when you run it at 9600
2002tiiguy
Helpful MS/Extra'er
Posts: 36
Joined: Wed Sep 14, 2016 3:05 pm

Re: No GPS data

Post by 2002tiiguy »

i know this is like from forever ago, i bought a house, moved, gf ended up in the hospital for a week. got into shooting blah blah blah. So new to me laptop. If i open the gps in mini terminal it streams nmea fine. However, when i let TS try to open it while im just online and monitoring, it never acquires a signal.

3/21/18 2:31:50 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:31:50 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:50 PM :Info: Closing Port
3/21/18 2:31:50 PM :Info: Successfully Closed Port
3/21/18 2:31:50 PM :Info: Re-establishing connection to: RS232: Port:COM1, Baud:115200
3/21/18 2:31:50 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:50 PM :Info: Closing Port
3/21/18 2:31:50 PM :Info: Successfully Closed Port
3/21/18 2:31:50 PM :Info: Opening port: COM1
3/21/18 2:31:52 PM :Info: Opening port: COM4
3/21/18 2:31:52 PM :Error: Resetting GPS Connection
3/21/18 2:31:52 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:52 PM :Info: Closing Port
3/21/18 2:31:52 PM :Info: Successfully Closed Port
3/21/18 2:31:53 PM :Info: Opening port: COM4
3/21/18 2:31:53 PM :Info: Re-establishing connection to: RS232: Port:COM1, Baud:115200
3/21/18 2:31:53 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:53 PM :Info: Closing Port
3/21/18 2:31:53 PM :Info: Successfully Closed Port
3/21/18 2:31:53 PM :Info: Opening port: COM1
3/21/18 2:31:53 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:31:53 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:53 PM :Info: Closing Port
3/21/18 2:31:53 PM :Info: Successfully Closed Port
3/21/18 2:31:55 PM :Info: Opening port: COM4
3/21/18 2:31:55 PM :Info: Auto Logging: Stopped Logging
3/21/18 2:31:55 PM :Debug: EventTrigger Stop Data log Triggered. expression:
3/21/18 2:31:55 PM :Debug: Time to subscribe all data log channels: 1.134681
3/21/18 2:31:55 PM :Info: Started Data Log to file: C:\Users\Owner\Documents\TunerStudioProjects\MyIx\DataLogs\2018-03-21_14.31.53.msl
3/21/18 2:31:55 PM :Info: Capturing DataLog
3/21/18 2:31:55 PM :Debug: Skipping Record: nanCount=91
3/21/18 2:31:55 PM :Info: dr: 0:211
3/21/18 2:31:55 PM :Debug: Range Sort Time: 0
3/21/18 2:31:55 PM :Debug: Skipping Record: nanCount=91
3/21/18 2:31:55 PM :Debug: Skipping Record: nanCount=91
3/21/18 2:31:56 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:31:56 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:56 PM :Info: Closing Port
3/21/18 2:31:56 PM :Info: Successfully Closed Port
3/21/18 2:31:58 PM :Info: Opening port: COM4
3/21/18 2:31:59 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:31:59 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:31:59 PM :Info: Closing Port
3/21/18 2:31:59 PM :Info: Successfully Closed Port
3/21/18 2:32:01 PM :Info: Opening port: COM4
3/21/18 2:32:02 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:32:02 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:32:02 PM :Info: Closing Port
3/21/18 2:32:02 PM :Info: Successfully Closed Port
3/21/18 2:32:04 PM :Info: Opening port: COM4
3/21/18 2:32:05 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:32:05 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:32:05 PM :Info: Closing Port
3/21/18 2:32:05 PM :Info: Successfully Closed Port
3/21/18 2:32:07 PM :Info: Opening port: COM4
3/21/18 2:32:08 PM :Info: GPS Connection Error, resetting Connection.
3/21/18 2:32:08 PM :Debug: JSSC ControllerInterface Close Connection currentPort == null:false
3/21/18 2:32:08 PM :Info: Closing Port
3/21/18 2:32:08 PM :Info: Successfully Closed Port
3/21/18 2:32:10 PM :Info: Opening port: COM4
3/21/18 2:32:11 PM :Info: GPS Connection Error, resetting Connection.
nknown Source)
java.io.IOException: Underlying input stream returned zero bytes
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:288)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at ad.b.run(Unknown Source)
java.io.IOException: Underlying input stream returned zero bytes
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:288)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at ad.b.run(Unknown Source)


any thoughts?
VLC-05L
Experienced MS/Extra'er
Posts: 208
Joined: Wed Jan 21, 2015 3:11 am
Location: Australia

Re: No GPS data

Post by VLC-05L »

I think I might be having the same sort of problem. I will bump the thread I've been talking about it in.
CB70 12V 3cyl 993cc Daihatsu | MS2X Sequential Fuel and Spark | Flex Fuel Launch Control | Raspberry Pi Dash
Post Reply