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

51 Comments

  1. Kami menyediakan Jasa Pijat/Urut Panggilan yang terlatih untuk Pijat Sehat & Refleksi.

    Anda Tinggal hubungi kami, maka kami akan datangkan Tukang Pijat/Urut profesional ke rumah anda. Kami juga menekankan prinsip disiplin dan kehati-hatian saat bekerja. Hal ini diharapkan dapat membuat para pengguna jasa kami nyaman dalam pelayanan.

    *Kami menyediakan tim yang bekerja dengan hati dan amanah. Pesan Sekarang Juga..

    Pemesanan Bisa Via Web: https://indospace.net

  2. Bisnis Online 2020 Terbaru

  3. I truly appreciate this post. Interesting content. I enjoyed reading this. Some nice points there.I’m very glad to look your article.

    Mcafee Pro is a popular antivirus protection product which secures your computers and laptops from malware attacks. You can download this antivirus from mcafee official website mcafee.com and login with a few steps. I personally used it and it has secured my system for 6 years . you can login by using mobile through mcafee my account login. for more information visit our website :https://mcafeepro.com/

  4. Baca Manga yuuk kunjungi website kami

  5. Useful sharing, thank you.

  6. info seputar blog yuuk kunjungi website kami

  7. AC Bocor / Netes? Hubungi kami service ac jogja

  8. looks like this will be a good relationship

  9. blog Info tech adalah blog yang membahas tentang teknologi Supaya Booyah Terus di Free Fire

  10. You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!

  11. A well written Content provided by you. Your writing skills are perfect southwest airlines reservations. i hope so you will write more content like this but if you are searching for flights then contact us or visit our website.

  12. thanks you bro i like it

  13. merupakan sebuah blog personal yang sangaja saya buat dan bertujuan untuk memberikan informasi, tips dan trik whatsapp , teknologi terbaru dan terpercaya

  14. Ayoo gabung bersama kami Agen Slot Online

  15. brandtalksmg513

    July 16, 2020 at 9:24 pm

    Digibook Promotion adalah sebuah tempat yang menawarkan Cetak Kalender Meja semarang

  16. https://www.sulissoft.net/ Reliable & Quality Web Hosting

    https://www.sulissoft.net/reseller-hosting.php Reseller Hosting cPanel Singapore Server

  17. Thank you very much for the great information about the world’s top most leading movie app for android and ios devices.
    catmouse download for android

  18. كشف تسربات المياة بمكة
    عمر بن عبدالعزيز رانيا محمود
    كشف تسرب المياة بمكة من أهم الأعمال التي تقوم بها شركتنا، حيث نوفر لكم أفضل الأدوات والأجهزة الحديثة والمتطورة التي تساعد في الحصول على أفضل خدمة، إننا نصل إليكم في مختلف الأماكن ولا نقوم بكشف تسرب المياة بمكة فقط بل في مختلف الأماكن في كافة أنحاء المملكة، وفي هذا المقال سوف نعرض عليكم الخدمات التي تقدمها شركتنا مع عرض الأدوات الحديثة التي يتم استخدامها ولكي تتعرفوا على المزيد تابعونا في السطور التالية.

    تابعنا سوشيال ميديا اطلب مساحتك الإعلانيه

    أفضل شركة كشف تسربات المياة بمكة
    هناك العديد من المميزات التي تتسم بها شركة كشف تسربات المياة بمكة والتي تجعلها من أفضل الشركات في مختلف أنحاء المملكة، حيث أن الشركة لها باع وخبرة كبيرة في مجال كشف تسربات المياة وتعمل على معالجة هذه التسربات بشكل نهائي فإن الفنيين لدينا على دراية كبيرة بالمخاطر والمشكلات التي قد تحدث نتيجة لإهمال التسربات التي تحدث بها، وإليكم أبرز المميزات التي تجعلنا الأفضل في كشف تسرب المياة بمكة:
    https://www.alfaresalawal.com/%D9%83%D8%B4%D9%81%20%D8%AA%D8%B3%D8%B1%D8%A8%D8%A7%D8%AA%20%D8%A7%D9%84%D9%85%D9%8A%D8%A7%D8%A9%20%D8%A8%D9%85%D9%83%D8%A9.html

  19. كشف تسربات المياة بمكة
    كشف تسرب المياة بمكة من أهم الأعمال التي تقوم بها شركتنا، حيث نوفر لكم أفضل الأدوات والأجهزة الحديثة والمتطورة التي تساعد في الحصول على أفضل خدمة، إننا نصل إليكم في مختلف الأماكن ولا نقوم بكشف تسرب المياة بمكة فقط بل في مختلف الأماكن في كافة أنحاء المملكة، وفي هذا المقال سوف نعرض عليكم الخدمات التي تقدمها شركتنا مع عرض الأدوات الحديثة التي يتم استخدامها ولكي تتعرفوا على المزيد تابعونا في السطور التالية.
    https://www.alfaresalawal.com/%D9%83%D8%B4%D9%81%20%D8%AA%D8%B3%D8%B1%D8%A8%D8%A7%D8%AA%20%D8%A7%D9%84%D9%85%D9%8A%D8%A7%D8%A9%20%D8%A8%D9%85%D9%83%D8%A9.html

  20. I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all. dental implants chico

  21. Very interesting blog. Alot of blogs I see these days don’t really provide anything that I’m interested in, but I’m most definately interested in this one. Just thought that I would post and let you know. french online casinos

  22. شركة الصالحي لنقل الاثاث و العفش هي افضل شركات نقل الاثاث و اوناش رفع العفش
    https://furniture-moving-company.com/

  23. شركة الصالحي لنقل الاثاث و العفش هي افضل شركات نقل الاثاث و اوناش رفع العفش

  24. If you are looking for a phone number to contact cash app support center, the you have landed on the right page. In the article below, we will tell you about Cash App and how to get support services for your accounts

    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/

  25. If you are looking for a phone number to contact cash app support center, the you have landed on the right page. In the article below, we will tell you about Cash App and how to get support services for your accounts

    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/
    https://cashapphelp.online/

  26. kaliteli sitelerde Okey Salonları ile güzel zamanlar geçirin.

  27. kaliteli ve seviyeli Okey Salonları ile güzel zamanlar geçirin.

  28. visit our website to find information about Scholarships

  29. There’s no doubt i would fully rate it after i read what is the idea about this article. You did a nice job.. 먹튀

  30. videotron adalah sebenarnya apa sih definisi videotron itu?, cek di website kami yuuk

  31. Masa depan Indonesia sangat tergantung pada kebanggaan berbangsa anak-anak yang dilandasi oleh pemahamannya mengenai kebinekaan kita. Yayasan Cahaya Guru memberikan berbagai pelatihan, Workshop, Diskusi Kelompok Terpumpun dan berbagai berbagai kegiatan lain dengan payung Keragaman, Kebangsaan, dan Kemanusiaan.

  32. Garmin express – Garmin express is a software application designed by the company to update, install and manage all the garmin devices from your desktop only.
    garmin express
    garmin express

  33. Haier Refrigerator is one of the appliances at home with great importance. It serves as the storage of food so that it will not spoil immediately. Haier Refrigerator service centre is providing best services and repairs for all brands of Home appliances.

  34. Garmin express – Garmin express is a software application designed by the company to update, install and manage all the garmin devices from your desktop only. 1
    garmin express
    garmin express

    • OLE88 – Situs Judi slot online terpercaya 2020. Selain agen slot online, OLE88 jg menyediakan permainan judi seperti Situs judi bola sbobet, Situs idn poker, Agen casino online, Agen togel online, Balak play, Capit duit,Minimal deposit hanya 25000, Situs judi online gampang menang dan gampang dapat jackpot.
      agen slot online

  35. OLE88 – Situs Judi slot online terpercaya 2020. Selain agen slot online, OLE88 jg menyediakan permainan judi seperti Situs judi bola sbobet, Situs idn poker, Agen casino online, Agen togel online, Balak play, Capit duit,Minimal deposit hanya 25000, Situs judi online gampang menang dan gampang dapat jackpot.

  36. miftahmuttaqin211

    July 27, 2020 at 10:11 pm

    animelu tempat kalian nonton anime terbaru

  37. دانستنی های زندگی سالم، ازدواج، تربیت فرزند و.. را در آشتی کنون دنبال کنید.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑