Jeremy W. Langston

Personal Website

Installing and Using NTP with a Garmin 18 GPS (with PPS)

I recently needed to synchronize a Windows XP machine with GPS time.  One of the requirements was sub-millisecond accuracy, which is no small thing for non-RTOS computers.  David Hart to the rescue!  He has written an driver for the NTP (network time protocol) service to incorporate a PPS (pulse per second) signal.  The PPS signal, coming from a GPS, is highly accurate after sufficient time has elapsed for the GPS to sync with the satellites.  I’ve received a lot of help from David Taylor; thanks again, David!  So, without further ado, here’s an example of how to proceed with the installation:

[UPDATE:  from David Hart – “I’ve posted a new serialpps-20091228.zip which should correct that [install.bat bug]. The (huge) debug build of serialpps-ppsapi-provider.dll is also added, along with a tiny bit of instructions in install.bat regarding PPSAPI_DLLS.”]

1.  Configure hardware.
Connect the PPS signal to the DCD pin on the RS232 connector.

2.  Install Meinberg NTP software.
Keep all defaults.
Create and use a special NTP account. (I always had problems using anything else)
Account name:  ntp (use whatever you want)
Account pass:  ntpntp

3.  Stop NTP.
Run “C:\Program Files\NTP\bin\stopntp.bat”.   There are alot of useful utils in the \bin directory.

4.  Replace ntpd.exe with altered version.
Extract “ntpd.exe” from “ntp-4.2.4p6-DLH-QPC-20090315-bin.zip
Copy to “C:\Program Files\NTP\bin”, replacing previous ntpd.exe.

5.  Install SerialPPS.
Extract all from “serialpps-20090606.zip“.
Edit “install.bat”
On line 6, remove ‘if “x86″==”%PROCESSOR_ARCHITECTURE” ‘
Remove line 7 and 8 (you can just put “REM ” in front and they will be ignored, almost like a comment)
Run “install.bat”
Ensure that “serialpps.sys” was copied to “C:\Windows\system32\drivers”
Copy “serialpps-ppsapi-provider\x86\serialpps-ppsapi-provider.dll” to “C:\”
Right-click “My Computer”, go to properties.
Click “Advanced” tab
Click “Environment Variables” button
Under “System variables”, Click “New” button
Name:  PPSAPI_DLLS
Value: C:\serialpps-ppsapi-provider.dll

6.  Configure GPS (for Garmin)
Run “SNSRCFG.exe
Connect to GPS
Configure
Set baud rate to 4800
Enable “Pulse Per Second”
Press F7
Enable GPRMC, disable others
Send config to GPS

7.  Configure NTP
Edit “C:\Program Files\NTP\etc\ntp.conf”
Remove all entries, add the following
driftfile “C:\Program Files\NTP\etc\ntp.drift”
enable stats
statsdir “C:\Program Files\NTP\etc\”
statistics loopstats
server 127.127.22.1 minpoll 4 #PPS
server 127.127.20.1 iburst prefer minpoll 4 maxpoll 7 #GPS
#fudge 127.127.20.1 time1 0.4 refid GPS #uncomment and change time1 as needed

8.  Ensure GPS is connected to serial port 1

9.  Restart computer

10. Unplug GPS and disable Microsoft Ball-mouse (if listed)
Go to device manager: My Computer->Properties->Hardware->Device Manager
Under “Mice and other pointing devices”, right-click and disable “Microsoft Serial BallPoint”

11. Reconnect GPS Restart computer

12. Start NTP server
Run “C:\Program Files\NTP\bin\startntp.bat”

13. Monitor NTP server
Run “C:\Program Files\NTP\bin\ntpstatus.bat”
Both GPS and PPS should show up.  After the GPS gets a lock, NTP should sync to the servers.
Refer to online documentation for help.
Alternatively, use “NTP Time Server Monitor” from Meinberg

To Uninstall PPS driver, run “uninstall.bat”.

52 Comments

  1. Thank you for the very accurate information available on this site

  2. It’s difficult to find well-informed people in this particular subject, but you sound like you know what you’re talking about! Thanks. Cash app customer service for solving cash app problems like Square Direct Deposit on Cash App, cash app refund and many more.

  3. Bermain game menggunakan PC atau laptop memang bukanlah suatu keharusan. Ciperx

  4. Upseremin adalah situs horor, unik, misteri, dan yang horor tidak selalu berhubungan dengan hantu. Misteri

  5. BetSgratis.cc memberikan info Betgratis, freebet terbaru dan freechip gratis tanpa syarat harus melakukan deposit

  6. anahtarcı hizmeti ve çilingir hizmeti veren firmamız teşekkur eder.

  7. Thanks for the information. I am looking forward to reading more blogs on this website.

  8. Menjual produk alami propolis 100% halal MUI, menerima reseller atau keagenan, bisnis british propolis. british propolis

  9. Cash App is the only method to send, spend, and invest your money. It’s the SAFE, FAST, and FREE money app. Cash App could even be a mobile service that permits you to form and receive payments from people and institutions. While using the app are often easy, you will need to contact the Cash App Support if you’re having issues that can’t be resolved within the commonly asked Questions sections of the online site or app. There isn’t an instant line you’ll call to talk to a Cash App representative by phone, but you’ll contact the support team within the app, on the online site, and by mail.

    https://justtechhelps.com/cash-app-support-number/
    https://justtechhelps.com/cash-app-refund-department/
    https://justtechhelps.com/cash-app-phone-number/
    https://justtechhelps.com/cash-app-customer-service-number/
    https://justtechhelps.com/cash-app-problems/
    https://justtechhelps.com/cash-app-issues/
    https://justtechhelps.com/cash-app-support/

  10. Cash App is the only method to send, spend, and invest your money. It’s the SAFE, FAST, and FREE money app. Cash App could even be a mobile service that permits you to form and receive payments from people and institutions. While using the app are often easy, you will need to contact the Cash App Support if you’re having issues that can’t be resolved within the commonly asked Questions sections of the online site or app. There isn’t an instant line you’ll call to talk to a Cash App representative by phone, but you’ll contact the support team within the app, on the online site, and by mail.

  11. Menjual tas sekolah anak dari model tas ransel, tas pinggang dan tas slempang dengan berbagai macam model terbaru, tidak pasaran, unik, dan dijamin awet!

    Tas Anak Model Terbaru

  12. When it is about flying in luxury, United Airlines is the perfect airline partner, as it is globally known for its exemplary range of services and amenities. Undoubtedly, traveling with this eminent Airline would let you have an extraordinary flying experience with no regrets. So, what keeps you waiting? Get in touch with an expert by dialing United Airlines flight reservations and get your reservation done without breaking a sweat.

  13. When it is about flying in luxury, United Airlines is the perfect airline partner, as it is globally known for its exemplary range of services and amenities. Undoubtedly, traveling with this eminent Airline would let you have an extraordinary flying experience with no regrets.

  14. When you think about great comfort and smooth travel experiences in the sky, Delta Air Lines is nothing but the ideal choice. Without any doubt, flying with this prestigious American air carrier would give you endless extraordinary flying experience that comes with no regrets. So, don’t waste your time thinking? Go ahead and contact the airlines through dedicated Delta Airlines Telefono Español and get your Delta Airlines reservations done in less than no time.

  15. When you think about flying to/from Canada, no airline can match the quality of service and airfares quoted by the airline. It is globally known that Air Canada is the best airline to travel in terms of competitive airfares, in-flight amenities, and facilities at the airport.

  16. Being the best SEO company in Delhi, Promote Abhi is known for its effective SEO packages and affordable SEO services in Delhi.

    https://www.promoteabhi.com/seo-services.php

  17. It’s exactly what I’m looking for. I really appreciate your efforts in writing this kind of content for us.

  18. Perbedaan Titan Gel Asli Dan Palsu Simak Baik Baik Agar Nanti Anda Beli Tidak Salah Produk

    titan gel asli

  19. Make hassle-free bookings with Southwest Airlines Visit the official website of the airline, enter the source and destination information, add departure and arrival dates, choose the number of passengers and click to search the available flights. Pick the travel class that suits your budget, make payment and book a flight with Southwest Airlines.

  20. You can book an Aeromexico flight either online by visiting Aeromexico reservations official site or by calling Aeromexico reservations phone number +1-844-401-9140.To book flights online you will have visit the airlines official website, click on the Book tab

  21. Are you planning to make Aeromexico Reservations? If yes, then go ahead, find exciting deals and discounts and get bookings done right away. Aeromexico is a primary air carrier based in Mexico. This airline is notable for providing outstanding onboard services and a wide range of meals to choose from.

  22. Raih 10jt Pertamamu dari Online, dipandu dari Nol hingga Sukses Besar di Bisnis Online. Temukan cara simple disini.

  23. Nonton drama Korea terbaru dengan subtitle Indonesia yang lagi trend di Korea atau download drama Korea sub Indo dengan kualitas HD.

  24. Yuksek oranlar ve cesitli bahis secenekleri ile istanbulbahis harika bir ortam yaratiyor. İstanbulbahis uye olun avantajlardan faydalanin.
    istanbulbahis

  25. Yuksek oranlar ve cesitli bahis secenekleri ile istanbulbahis harika bir ortam yaratiyor. İstanbulbahis uye olun avantajlardan faydalanin.
    https://www.istanbulbahisadres.com

  26. Hey guys, these are the genuine and effective steps to get rid of all kinds of Cash App login related issues. Follow these tips and tricks and make your life simple. Get more information visit here: https://cashapphonenumber.com/blog/cash-app-login

  27. Hey guys, these are the genuine and effective steps to get rid of all kinds of Cash App login related issues. Follow these tips and tricks and make your life simple. To know more information visit here: https://cashapphonenumber.com/blog/cash-app-login

  28. Step 1: Update repository index. …
    Step 2: Install NTP Server with apt-get. …
    Step 3: Verify installation (optional) …
    Step 4: Switch to an NTP server pool closest to your location. …
    Step 5: Restart the NTP server. …
    Step 6: Verify that the NTP Server is running.

  29. I am more than happy to share and help your project. Live long to it! :D

  30. I am a little bit scared about the idea to share and help your project. Live long to it! :D

  31. Guidelines to Troubleshoot Roku Error Code 009

  32. nice information and good blog. thank you very much for article

    more info : Game Slot Murah

  33. nice information and good blog. thank you very much for article

  34. Jasa dokumentasi foto video cinematic wedding pernikahan murah kualitas bagus profesional harga bersahabat gedung jakarta bekasi depok tangerang bogor. Wedding Photography Rekanan Gedung

  35. Berbagai bahan, mulai dari bawang putih, madu, hingga lidah buaya, bisa kita manfaatkan, agar kulit kembali sehat dan bebas dari jerawat. Selain itu, menjalani pola hidup yang sehat, rupanya juga penting untuk menjaga kesehatan kulit

    baca lanjutannya yuuuk bagaimana cara mencegah jerawat

  36. Nice service available in this blog.. but if anyone wants more advanced service related to Garmin GPS device, Roku device, Email and Antivirus so easy to make it call at this toll-free number 1-616-266-7556.
    https://www.fivechapter.com/garmin-connect-support/

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑