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”.

50 Comments

  1. thank you so much, i hope get more info about sports bet

  2. thank you so much, i hope get more info about sports

  3. bitbola slot online, sebagai perwakilan digital dari mesin slot tradisional, telah merevolusi pengalaman berjudi dengan memberikan pemain perjalanan virtual melalui gulungan putar dan jackpot menggiurkan.

  4. Thanks for sharing! this information really helpful

  5. Winslot, situs Judi Slot gacor hari ini yang menyediakan slot online Nexus engine dan UG Gaming Slot. Dengan fitur mega win demo x500 anti rungkat io, depo Qris, Apk slot server luar, RTP Nexus, VPNslot 88, freebet 5k, bonus big win slot terbesar.

  6. hola thank for your journal blog, you can see my web: Roket123.

  7. this is website have so many information about rtp slot

  8. Hi, I read your new stuff regularly. Your writing style is awesome, keep doing what you’re doing!

  9. SHIENSLOT SITUS SLOT GACOR GAMPANG MAXWIN

    Shienslot memberikan kemudahan untuk para pemain yang sudah menjadi member di situs IDN slot online gacor terbaik ini untuk bisa memperoleh keuntungan setiap harinya. Dengan pelayanan 24 jam non stop tentunya anda bisa kami layani kapanpun yang anda inginkan. Para member tentunya menjadi prioritas utama kami agar mereka bisa bermain dengan aman, nyaman, dan bisa mendapatkan keuntungan setiap harinya.

  10. top forex brokers is a service firm that provides access to the foreign exchange market for traders. The forex broker serves as an intermediary between traders and the interbank market.

  11. Great Post Thanks For Sharing With Us. Devika Group has been a prominent player in India’s real estate landscape since 1955. With a rich history, they have significantly contributed to the urban development of major cities. Devika Group offers a diverse portfolio ranging from residential complexes to commercial spaces, catering to various needs. Their dedication to quality and timely delivery places them among India’s top real estate firms.
    Learn More at:
    https://devikagroup.com/

  12. Great Post Thanks For Sharing With Us. Devika Group has been a prominent player in India’s real estate landscape since 1955. With a rich history, they have significantly contributed to the urban development of major cities. Devika Group offers a diverse portfolio ranging from residential complexes to commercial spaces, catering to various needs. Their dedication to quality and timely delivery places them among India’s top real estate firms.
    Learn More at:
    https://devikagroup.com/

  13. Slot online adalah permainan judi yang sangat populer di kalangan pecinta Bet212 online. Dengan kehadiran teknologi modern, slot online telah menjadi opsi yang menarik bagi banyak orang yang mencari hiburan dan peluang untuk memenangkan hadiah besar.

  14. Apply for your driving license in Delhi easily through the online portal and skip the long queues. The online application process is fast and convenient, allowing you to get your license from the comfort of your home. Apply Driving License Online Delhi

  15. Great Post. very informative

  16. Kemasan bukan hanya tentang estetika, tetapi juga kepraktisan dan keselamatan. Pabrik minuman bubuk memahami pentingnya kualitas pengemasan. Desain yang menarik dan fungsional tidak hanya meningkatkan daya tarik produk tetapi juga menjaga kesegaran dan keamanan. Labeling yang jelas memberikan informasi yang diperlukan kepada konsumen, memperkuat citra merek.

  17. A driving license is mandatory for anyone wanting to drive a vehicle in Bangalore. You can easily apply for a new Driving License Bangalore or renew an expired one with the help of Itzeazy. Driving License issued hassle-free on time as per RTO rules.

  18. aztec88 adalah situs permainan slot online dan terbaik pastinya gacor menang dibayar komplit

  19. aztec88 situs permainan slot online dan terbaik pastinya gacor menang dibayar komplit

  20. scatter88 agen spin online terbaik dan penyediah provider terpopuler terbaik

  21. Kami adalah kontraktor design booth – Exhibition stand contractor berlokasi di Jakarta Indonesia dengan berbagai klien lokal dan internasional

  22. isb388 situs slot online terpercaya 2024

  23. Great insights! Planning ahead is key for a stress-free visa process. Thanks for sharing! ✈️ Also, for those in Bangalore, consider Itzeazy best visa agents in Bangalore for a seamless experience. 👍

  24. Dapatkan informasi terperinci mengenai harga pasir silika per sak dengan mengunjungi situs resmi kami

  25. Thank you very Much For Sharing this Useful information

  26. So good that you wrote awesome stuff here.

  27. Raih keberuntungan Anda di situs slot online terpercaya! DEWAPOKER Dapatkan promosi menarik dan jackpot besar. Bergabunglah sekarang untuk keseruan tanpa batas!

  28. Explore keberuntungan di situs slot online terbaik! DEWAPOKER Dapatkan promo eksklusif dan kemenangan besar. Bergabunglah sekarang untuk petualangan judi yang menghibur!

  29. The newest and most trusted online slot game bookie site in Indonesia this year. Recently, it has become a choice for all online slot players wherever you are. Apart from that, the online games that are provided are very fun and of course exciting. I really like it, and I look forward to hearing from you next. Thank you for the information regarding the most popular news today this year. For more complete information, please visit our website for further information https://magazinetiger.com/

  30. Temukan harga pasir silika per ton yang kompetitif dan spesifikasi teknis yang sesuai dengan kebutuhan Anda untuk pasir silika

  31. Design propose kami, sebagai penyedia jasa pembuatan booth pameran dan jasa interior, adalah hasil dari kreativitas rancangan struktur objek yang penuh totalitas di dalam merancang special design booth pameran, demi membranding perusahaan anda.

  32. This is a good article and you have shared great information. Thanks for this great information.

  33. “Bergabunglah dengan komunitas game kami dan nikmati keseruan bersama pemain lainnya dari seluruh dunia.”

  34. Thank you so much. Great work all around, keep sharing more informative content with us.
    WiFi range extender is a networking device that expand WiFi signals and increase the internet speed in your home or apartment Wireless-N WiFi repeater setup

  35. “Tingkatkan peluang menang Anda dengan promo eksklusif kami!PAIZA99 Bergabunglah dan nikmati permainan slot terbaik. 🎲💎 #CasinoBonus #SlotPromo”

  36. Nice Article … Your work is truly appreciated bola tangkas

  37. Thanks for the good and rich Nice Article … Your work is truly appreciated bola tangkas

  38. Good job.. Awesome blog post, Nice Article … Your work is truly appreciated bola tangkas

  39. ARUNABET Rajanya Slot Online dengan Hadiah Besar hingga MAXWIN!

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑