Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holux M-241 gps weeks rollover issue - unlock track filter days option #349

Closed
jonaszwojcik opened this issue May 11, 2019 · 16 comments
Closed

Comments

@jonaszwojcik
Copy link

M-241 is not supported by Holux
http://market.holux.com/EDM/2019/0429/20190429_weekvalue.html

Official software is not working (ezTour, HoluxLoggerUtility) after gps weeks rollover
The software cannot read the log from device ("No data in device" error).
BT747 have the same problem.
But GSPBabel can read and convert the log from M241 :)
BIG THANKS!!!!
But the date is in 1999 ;)

Can you please add option to convert the time for M241.
something like you did for skytraq
https://www.gpsbabel.org/htmldoc-1.6.0/fmt_skytraq.html

I think it may be worth to add global weeks rollover option - not only per device/format

Thanks!

@mburnicki
Copy link

I also have a GPS tracker GT-730FL (skytraq type) which basically still works after the WNRO, but records a date in 1999, so currently 1024 weeks had to be added to get the correct date.

Another tracker is a MediaTek Inc. Qstarz BT-Q1000XT (mtk type) which actually still works correctly. However, as explained here
https://kb.meinbergglobal.com/kb/time_sync/gnss_systems/gps_week_number_rollover#a_simple_error_prone_approach

even devices that currently still work correctly can start providing a wrong date after an arbitrary week number hardcoded in the device firmware.

So I also vote for a general option in gpsbabel to fix this when downloading data from the device, or even read / update / write a .gpx file.

Eventually a good way to do this is to specify the GPS epoch number on the command line, which is currently 2, and make sure the converted dates belong to this epoch, or even ask/warn the user if the date read from a device belongs to a different epoch than the computer's current date.

@jonaszwojcik
Copy link
Author

jonaszwojcik commented May 12, 2019

Yes. I think the better way will be to correct the output instead source. It will be one code fix for all outputs.

For now the workaround is to phrase the dates in gpx file and override adding 1024 weeks.

<time/>1999-09-24T17:06:00Z</time> ====>> <time>2019-05-10T17:06:00Z</time>'

I thinking about configurable option for the translation process to add 1024 weeks if gps date is before 4/6/2019 and actual time is after 4/6/2019

@tsteven4
Copy link
Collaborator

tsteven4 commented May 12, 2019 via email

@jonaszwojcik
Copy link
Author

jonaszwojcik commented May 12, 2019

Yes. it will work for me.
Sorry, I missed this option: https://www.gpsbabel.org/htmldoc-development/filter_track.html

but days value is limited to 2000 days:
obraz

Please update the days limit as a quick fix and consider to add weeks option to the filter for the future release.
Weeks option will be more convenient for fixing GPS weeks rollover issue.

Thanks!

@jonaszwojcik jonaszwojcik changed the title Holux M-241 gps weeks rollover option Holux M-241 gps weeks rollover issue - unlock track filter days option May 12, 2019
@robertlipe
Copy link
Collaborator

robertlipe commented May 13, 2019 via email

@tsteven4
Copy link
Collaborator

tsteven4 commented May 13, 2019 via email

@rwaldner
Copy link

No, @jonaszwojcik is not the only M-241 user - there is at least a second one :-)
And yes, I also noticed that the dates are now in the year 1999 :(

I agree that this cannot be your task to fix firmware bugs of devices built by others.

I use GPSBabel on the commandline and the move by 7168 days is a practical solution for me.

Roger

@robertlipe
Copy link
Collaborator

robertlipe commented Jun 17, 2019 via email

@Cypresslin
Copy link

M241 and other models are in the "not supported" list of their announcement.
But anyway, this company, Holux Technology Inc, has no longer exists since 2019 Jul. 16

Formosa TV English News - GPS provider Holux Technology to lay off entire workforce
https://www.youtube.com/watch?v=uv3tJ2bsT8w

@jetsun-666
Copy link

I have both Holux M241 and Transystem i-Blue 747.
I don't know the gps weeks rollover issue until today.
After April 2019, I thought my two GPS loggers were suddendly brorken, there is no GPS track can be extracted by using BT747 java utility, and the date is wrong when I use GpsBabel.
It seems the vendor will not provide a new firmware for no longer supported legacy GPS logger.
It will be very appreciated if Gpsbable can provide a workaround to fix the bug of legacy GPS logger.

@tsteven4
Copy link
Collaborator

Use the track filter as suggested above. If you are using the command line 1.6.0 should work using a shift by 7168d(ays). But if you are using the GUI you need a fix from after 1.6.0,
#363. There is a pre-release version that includes this fix at https://github.com/gpsbabel/gpsbabel/releases, either continuous for macos or continuous-windows for windows. The fix also adds the ability to shift by 1024w(eeks) with the command line.

@hongmao21
Copy link

It’s a pity that it’s bankrupt. I tried to log in to the official website and I have been unable to access it. This is the problem.

@billyauhk
Copy link

billyauhk commented Nov 6, 2019

I am also affected by the rollover, but yesterday I found one could inject a PMTK335 message through the serial port to set the RTC time in the chip while it is early in the cold boot process, and then it works normally (even if I injected the year-month-day with a fixed 00:00:00Z while I was close to 16:00:00Z). Otherwise the device may tell me I am in 1980 or 2000 (two or one 1024 weeks before) due to the rollover.

I was on a wired USB connection, but I assume it is also do-able via bluetooth. Holux will not provide firmware updates (chance even slimmer since the bankruptcy), but an mobile app which would check, cold boot and fix the date through bluetooth if it is wrong would be a good triage solution (at a ~15 minutes cost due to the cold start). I have not done experiments for anything other then cold start (warm start, etc.) but will do that when I have time. A simple "fix the date, then insert a battery" trick to maintain the RTC could revive the logger.

Edit:

  1. A PMTK335 followed by a PMTK101 (hot start) seems also work.
  2. This PMTK335 trick will work until 20 Nov, 2038. Setting a date of 21 Nov, 2038 (the date of the next rollover) and beyond will fail to set anything. Correct date will still be displayed if the clock continues to run without any hot start. The earliest possible date shown on the LCD clock is 01 Jan, 2007 00:00:00UTC (05 Jan, 1980 if reading the NMEA).
  3. The trick is already reported in May on a German blog: https://www.technologyblog.de/2019/05/gps-rollover-zerstoert-gps-logger/

P.S.

  1. I suspect this trick would also work for all other devices with MT3318 chips, but I only own an M-241, so it may be better to spread the gospel and let everyone check their devices.
  2. If someone want to try the hard way of reversing and working out a new firmware for everybody, I would be interested to know about the efforts and will be glad to share my backup of the firmware files for M-241 on the official website.

@robertlipe
Copy link
Collaborator

robertlipe commented Nov 6, 2019 via email

@rowaard
Copy link

rowaard commented Apr 10, 2020

i hav a a holux GPSport 260 pro. can anyone tell if it is possible to fix the gps week rollover.

@GPSBabelDeveloper
Copy link
Collaborator

Pulling in issues ##363, #357, and #358, I think we have this about as fixed as is reasonable for us to do.

Solution TL:DR: Use the track move 1024w option

Thanx for all the good info in this post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests