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. https://certainkey.com/ Ligaciputra adalah platform terpercaya untuk para penggemar game slot online.

  2. ligaciputra link adalah situs slot online berbasis di Indonesia yang menggunakan server terpercaya, yaitu Ligaciputra. Kami memiliki komitmen kuat untuk memberikan pengalaman bermain slot yang luar biasa bagi para pemain. Dengan dedikasi kami dalam memberikan layanan terbaik, Ligaciputra telah menjadi salah satu situs slot paling terpercaya dan ternama di Indonesia. Kami selalu berusaha memberikan yang terbaik dalam segala hal, mulai dari kualitas permainan hingga layanan pelanggan yang ramah dan responsif.

  3. خدمات شركة عزل خزانات بالطائف من شركة كارما : حماية مياهك وصحتك
    تعد خزانات المياه جزءاً حيوياً من بنية المنازل والمنشآت التجارية، ومن أجل ضمان نقاء وسلامة المياه التي نستخدمها يومياً، يجب أن يكون لها نظام عزل فعّال. إذا كنت تبحث عن شركة توفر خدمات عزل خزانات عالية الجودة في الطائف، فإن شركة كارما تقدم لك الحل المثالي.
    خدماتنا:
    1. تنفيذ عمليات العزل باحترافية:
    يقوم فريقنا المدرب بتنفيذ عمليات العزل باحترافية عالية، مما يضمن الحصول على نتائج ممتازة.
    2. استخدام مواد عالية الجودة:
    نحرص على استخدام مواد عازلة معتمدة وذات جودة عالية لضمان فعالية العزل ومتانته على المدى الطويل.
    3. توفير الحماية من التسربات:
    نوفر حماية شاملة من التسربات المائية والتلوث الخارجي الذي قد يؤثر سلباً على جودة المياه.

  4. website terpopuler di indonesia = > http://virdsam.city

  5. Je voulais partager avec vous les cas d’utilisation les plus courants de ChatGPT gratuit, car je pense que cela peut être utile à beaucoup d’entre vous. Personnellement, j’ai trouvé que Chat GPT Gratuit était incroyable pour l’aide à l’apprentissage des langues. Sa capacité à générer des conversations naturelles m’a permis de pratiquer le français, l’espagnol et même le japonais avec facilité. De plus, il est parfait pour la génération d’idées créatives et la résolution de problèmes. Quels sont vos cas d’utilisation préférés ? Partagez-les avec nous !

  6. Ahh, I’ve looking for solution and I found this.
    Thank you for sharing this tutorial, very useful for me!

  7. NoDrakor Nonton Streaming Drama Korea Sub Indo, Download Drama Korea, Tv Series dan Film Korea, Drakorindo, Drakorindofilm, Youwatch, Nodrakor, Kordramas

  8. Situs terbaik pilihan nomor satu untuk daftar dan login game slot gacor favorit dan menangkan jackpot maxwin ratusan juta!

  9. its really good article.
    please visit us here : Hero4D

  10. that’s a really good page.
    please visit my page here : Kubet

  11. such a lovely page that you make!
    please visit my page here : Kubet

  12. Ich finde Ihre Artikel unglaublich aufschlussreich und wertvoll. Ich werde sicherstellen, Ihr Blog zu bookmarken und regelmäßig für Updates zu besuchen. Ich freue mich darauf, hier mehr wertvolle Informationen zu entdecken, und wünsche Ihnen alles Gute für Ihre zukünftigen Beiträge!

    Asbestsanierung

  13. Bergabunglah sekarang di UNTUNG33, situs slot online terbaik dengan server Thailand yang akan membawa Anda pada kemenangan maksimal! Temukan pengalaman bermain yang tak terlupakan hanya di UNTUNG33!

    DAFTAR UNTUNG33

  14. Bergabunglah sekarang di UNTUNG33, situs slot online terbaik dengan server Thailand yang akan membawa Anda pada kemenangan maksimal!

    DAFTAR UNTUNG33

  15. Bergabunglah sekarang di UNTUNG33, situs slot online terbaik dengan server Thailand yang akan membawa Anda pada kemenangan maksimal!

  16. Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly
    enjoyed browsing your blog posts. In any case
    I will be subscribing to your rss feed and I hope you write again soon!

    افلام بلس

  17. what a great website that you have!
    please visit my website too here : Hero4d

  18. thanks for your beautiful page!
    please visit mine here : Kubet

  19. Untuk game slot paling banyak peminat yang tersedia di Login link alternatif ligaciputra
    Yggdrasil antara lain seperti Vikings Go Berzerk, Double Dragons, Orient Express,Hypernova 10K Ways, Calavera Crush, Bug Money, Jokerizer, Casino Zeppelin, Champions Of Rome, 9k Yekti, Valley Of The God, E- Force, Hades, Hemz Split, Lucha Maniacs, Water Blox dan Golden Fish Tank.

  20. Login link alternatif ligaciputra
    Yggdrasil juga menyediakan judi slot online yang sangat menarik serta menawarkan hadiah menang fantastis dengan jumlah bervariasi. Login Ligaciputra Yggdrasil juga menyediakan game slot judi online taruhan uang asli yang sangat gacor sehingga setiap putaran yang berlangsung gampang bocor jackpotnya

  21. Very interesting post,thanks for sharing this
    do visit our pageMofa Attestation Pakistan

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

  23. Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly
    enjoyed browsing your blog posts. In any case
    I will be subscribing to your rss feed and I hope you write again soon!
    افلام بلس

  24. Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly
    enjoyed browsing your blog posts. In any case
    I will be subscribing to your rss feed and I hope you write again soon!

  25. Thank you for sharing such useful information. I’m a Writer by profession and I found that today’s students are very curious about their assignments. I recommend that to get help from an online platform that offers nursing assignment help australia to students in Australia. An assignment writer is a professional who specializes in crafting high-quality and well-researched academic papers on various subjects and topics.

  26. Thanks for another informative website. The place eelse could I get that type of I am simply now working on, and I’ve been on the look out for suchinfo. Also visit my web site : holyslot88

  27. Very interesting website, this is what I was looking for to do research and study. And don’t forget to visit the website which is no less interesting: holyslot88

  28. Telusuri dunia permainan lotre yang mendebarkan dengan Lemacau live draw sgp, di mana keberuntungan bertemu dengan kesempatan.

  29. Dapatkan Keuntungan dengan bergabung bersama UNTUNG33.ONLINE, Kamu tinggal cari di google Untung33.Online sekarang.

    WEB URL : https://untung33.online/

  30. Raih kesempatan emas! Gabung dengan UNTUNG33 sekarang dan nikmati sensasi kemenangan di setiap putaran slot. Dapatkan untung besar dan hadiah menggiurkan setiap hari. Ayo, jadilah bagian dari komunitas pemenang kami. Bergabunglah sekarang dan mulailah petualanganmu menuju keberuntungan!

    Link : https://untung33.io/

  31. UNTUNG33 situs gacor 2024 terjamin pasti ! kapan lagi kamu bermain di situs gacor terpercaya dan aman !

    Link : https://untung33.io/

  32. NoDrakor Nonton Streaming Drama Korea Sub Indo, Download Drama Korea, Tv Series dan Film Korea, Drakorindo, Drakorindofilm, Youwatch, Nodrakor, Kordramas

  33. NoDrakor Pretty nice post. I just stumbled upon your blog and wished to say that I’ve truly
    enjoyed browsing your blog posts. In any case
    I will be subscribing to your rss feed and I hope you write again soon!

  34. Situs judi slot gacor hari ini tidak hanya menawarkan peluang kemenangan yang tinggi, tetapi juga menciptakan lingkungan bermain yang nyaman.

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

  36. Dengan minimal deposit yang terjangkau di bandar slot777, para pemain dapat mencoba berbagai game slot gacor dan berkesempatan meraih kemenangan besar.

  37. cari yang banyak bonus ma banyak yang sering maxwin cuma http://kantorpakcik.info/

  38. Link Slot Online Gacor memberikan akses mudah dan cepat untuk para pemain yang ingin merasakan sensasi bermain slot online yang menguntungkan. Dengan banyaknya pilihan permainan Slot Gacor anti rungkad, pemain dapat memilih jenis permainan yang sesuai dengan keberuntungan dan strategi mereka. Hal ini juga didukung oleh fitur-fitur modern dan grafis yang memukau dari slot online terbaru.

  39. The best and most trusted online lottery game this year with games that easily produce jackpots. As the site with the biggest payout this year, it will be the main choice for those of you who love online lottery with big jackpots. Therefore, if you want to try it, please visit our website
    https://kalonghoki99.com/

  40. The best and most trusted online lottery game this year with games that easily produce jackpots. As the site with the biggest payout this year, it will be the main choice for those of you who love online lottery with big jackpots. Therefore, if you want to try it, please visit our website https://kalonghoki99.com/

  41. is an online lottery site that has long had an official license, which is trusted and safe. Therefore, if you want to know further information, please visit our website.
    https://tujuhlapan.com/

  42. thank you for information
    can visit my website
    uranustoto

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑