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. halo thanks you bro i like

  2. game free fire /ff trik dan trik bisa kalian dapatkan di web kami

  3. Thanks for sharing such information with us. It was too useful and productive. Crowley Black Blazer . Please keep posting such great work.. If you are looking Cash App solution so pls not worry an get help by experts visit my website:

  4. Nice to read your article! I am looking forward to sharing your adventures and experiences. If you are looking Cash App solution so pls not worry an get help by experts visit my website:

  5. Thank you so much! for sharing this amazing news with us. I love your post as it is with full of information as well as interesting.. If you are looking Cash App solution so pls not worry an get help by experts visit my website:

  6. Thank you for sharing this wonderful article.I am really enjoying your well written articles. This information is very nice and useful. thanks for upload this article. for any printer issue please visit us or call 1888-823-4450 and get help instantly

  7. Really it is a very nice topic and Very significant Information for us, I have think the representation of this Information is actually super one. for any printer issue please visit us or call 1888-823-4450 and get help instantly

  8. kami menyediakan sistem apotek terbaik untuk keperluan kalian

  9. IOB365 merupakan situs judi bola dan agen judi bola pasaran SBOBET serta taruhan bandar togel online, live casino dan juga slot online games yang terpercaya.

  10. Incredible post= Customarily, I don’t take a gander at an article on areas, yet I wish to present this assessment phenomenally obliged me to investigate and do it! Your creation style has been surprised me. Thankful, choice post. Garmin express server error

  11. Extraordinary post= This is a great article, I like so much such articles, yes it’s for quantifiable article commitment of appreciation is all together for offering this to us, I have joined an article for sharing.Garmin express server error

  12. kamu butuh pintu gebyok jati jepara silahkan cek di web kami yaa

  13. Search our job listings and discover a variety of opportunities. At Info Loker Terbaru, we connect you with the top companies in the area.

  14. At Info Loker Terbaru, we connect you with the top companies in the area.

  15. This website contains numerous free
    samples
    of academic writings. Everyone can use them for free to create their own assignments and get the highest grades.

  16. Luxypoker99 adalah situs idn poker tepercaya di Indonesia dengan menawarkan bermain dengan 8 permainan dalam 1 akun saja.

  17. Luxypoker99 adalah situs idn poker tepercaya di Indonesia dengan menawarkan bermain dengan 8 permainan dalam 1 akun saja. untuk info lebih lanjut anda bisa kunjungi kami di http://95.111.195.84/

  18. Luxypoker99 adalah situs idn poker tepercaya di Indonesia dengan menawarkan bermain dengan 8 permainan dalam 1 akun saja.

  19. Download Anime Subtitle Indonesia Batch Terlengkap dengan format x265 atau h265 Paket Hemat dilengkapi berbagai kualitas 1080p 720p 480p 360p. download anime subtitle indonesia

  20. Best Way to Cut Metal Roofing

    August 11, 2020 at 8:24 pm

    Metal roof for residential building is typically made from aluminum, steel, or copper. To prevent rust, the steel sheet rolls are usually layered by metallic top, complied by baked-on finishing paint.

  21. situs yang memberikan asupan anime dan Jejepangan bagi para otaku dan wibu, hingga manga

  22. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here. tool reviews

  23. Layar Warna21 adalah Situs Layarkaca21 Nonton Film Bioskop layarkacaxxi Online Terbaru drakorindo Subtitle Indonesia Terlengkap.

  24. website yang membahas seputar pelajaran teknik informatika seperti programming , desain system, data science, dan sputar perkembangan tehnologi lainnya.

  25. Get free notification of all India Government Jobs 2020 and its job vacancies across sectors in India like Railways, Banking Employment in India, Universities, College Govt Jobs, Teaching, Schools in India, Financial Institutions 2020, Defence, SSC, Agriculture and many more India Government Jobs.
    Visit: https://www.governmentjobseeker.com/

  26. I found the truth when I read your post, thank

  27. Video downloader is a tool to download videos without having to install software on a computer.

  28. thank you friends, thanks to your posts, it can make it easier for me to install NTP, Recommendations 😅😅

  29. nice information bro, can’t wait for others
    Tulisan Farizi

  30. nice information bro, can’t wait for others
    Tulisan Farizi

  31. Thanks for your post. But where do I find the ntpd.exe file?

  32. https://shipping-ksa.blogspot.com/2019/10/transfer-to-jordan.html شركة نقل عفش من الرياض الى الاردن
    https://shipping-ksa.blogspot.com/2019/10/Saudi-Arabia-to-Emirates-DUBAI.html شركة نقل عفش من الرياض الى الامارات
    https://shipping-ksa.blogspot.com/2020/06/shipping-of-furniture-from-saudi-arabia-to-jordan.html شحن اثاث من السعودية الى الاردن
    https://shipping-ksa.blogspot.com/2019/10/Shipping-from-Saudi-Arabia-to-Jordan_19.html شركة نقل عفش من جدة الى الاردن
    https://shipping-ksa.blogspot.com/2020/03/Jeddah-to-Emirates-DUBAI.html شركة نقل عفش من جدة الى الامارات
    https://shipping-ksa.blogspot.com/2020/01/from-Riyadh-to-Emirates.html شركة شحن من الرياض الى الامارات
    https://shipping-ksa.blogspot.com/2020/06/Transfer-Furniture-Medina.html شركة نقل عفش بالمدينة المنورة
    https://shipping-ksa.blogspot.com/2020/02/Transfer-Furniture-Jeddah.html شركة نقل عفش بجدة
    https://shipping-ksa.blogspot.com/1998/06/Transfer-in-Jeddah-NorthAbhor-SouthernAbhor.html نقل عفش جدة
    https://shipping-ksa.blogspot.com/2020/03/Transfer-Furniture-in-Mecca.html افضل شركة نقل عفش بمكة
    https://shipping-ksa.blogspot.com/2020/03/Transfer-Furniture-in-Taif.html افضل شركة نقل عفش بالطائف
    https://shipping-ksa.blogspot.com/2011/11/Transfer-Furniture-Riyadh.html شركة نقل عفش بالرياض
    https://shipping-ksa.blogspot.com/2020/05/from-Jeddah-to-Morocco.html شركة شحن من جدة الى المغرب
    https://shipping-ksa.blogspot.com/2014/10/riyadh-to-lebanon.html شركة شحن من الرياض الى لبنان
    https://shipping-ksa.blogspot.com/2020/01/from-Riyadh-to-Bahrain.html شركة نقل عفش من الرياض الى البحرين
    https://shipping-ksa.blogspot.com/2020/03/dammam-to-morocco.html شركة نقل عفش من الرياض الى المغرب
    https://shipping-ksa.blogspot.com/2020/03/dammam-to-lebanon.html شركة نقل عفش من الدمام الى لبنان
    https://shipping-ksa.blogspot.com/2017/10/riyadh-to-jordan.html نقل اثاث من الرياض الى الاردن
    https://shipping-ksa.blogspot.com/2019/10/from-Saudi-Arabia-to-Lebnan.html شركة نقل عفش من جدة الى لبنان
    https://shipping-ksa.blogspot.com/2019/10/From-Saudi-Arabia-to-Turkey_23.html شركة نقل عفش من جدة الى تركيا
    https://shipping-ksa.blogspot.com/2020/01/Company-Transporting-from-Jeddah-to-Oman.html شركة نقل عفش من جدة الى سلطنة عمان
    https://shipping-ksa.blogspot.com/2019/10/from-Saudi-Arabia-to-Iraq.html شركة نقل عفش من جدة الى العراق
    https://shipping-ksa.blogspot.com/2019/10/from-Saudi-Arabia-to-Kuwait.html شركة نقل عفش من جدة الى الكويت
    https://shipping-ksa.blogspot.com/2019/10/from-Saudi-Arabia-to-Bahrain.html شركة نقل عفش من جدة الى البحرين
    https://shipping-ksa.blogspot.com/2019/10/from-Saudi-Arabia-to-Qatar.html شركة نقل عفش من جدة الى قطر
    https://shipping-ksa.blogspot.com/2020/01/from-Riyadh-to-Kuwait.html شركة نقل عفش من الرياض الى الكويت
    https://shipping-ksa.blogspot.com/2020/01/Company-Transporting-from-Riyadh-to-Turkey.html شركة نقل عفش من الرياض الى تركيا

  33. و جدير بالذكر أن رخص أسعار الخدمات لا يدل على قلة جودتها على الأطلاق، في دليل شركات نقل العفش بالرياض ستجد شركة انوار الحرمين للنقل والشحن الدولى
    https://shipping-ksa.blogspot.com/2019/10/transfer-to-jordan.html

  34. https://cashapphelp.online/
    24/7 Cash App Helpline Number: +1-888-526-2110
    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. Cash app is fast money transfer application that is used by millions of users to make easy and safe electronic payments through the use of cell phones.

    https://cashapphelp.online/

  35. 24/7 Cash App Helpline Number: +1-888-526-2110
    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. Cash app is fast money transfer application that is used by millions of users to make easy and safe electronic payments through the use of cell phones.

    https://cashapphelp.online/

  36. 24/7 Cash App Helpline Number: +1-888-526-2110
    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. Cash app is fast money transfer application that is used by millions of users to make easy and safe electronic payments through the use of cell phones.

    https://cashapphelp.online/

  37. Newnime adalah situs download dan nonton anime sub indo terlengkap dan terupdate dengan link nonton anime gratis setiap hari.

  38. Toto Hk adalah situs download terbaik untuk kalian

  39. Airlines-gethuman.org is a platform where you can Find Contact Information for all the airlines, Assistance with booking your flights, and vacation packages easily. It helps you to save both, your money and your time. We also help you to book Delta Airlines Reservations to or from popular destinations. In case, you are not sure about your destination and want to explore something new. Explore our best flights & vacations deals to popular destinations worldwide. For More:
    Delta Airlines Reservations

  40. Airlines-gethuman.org is a platform where you can Find Contact Information for all the airlines, Assistance with booking your flights, and vacation packages easily. It helps you to save both, your money and your time. We also help you to book Delta Airlines Reservations to or from popular destinations. In case, you are not sure about your destination and want to explore something new. Explore our best flights & vacations deals to popular destinations worldwide. For More:

  41. Türkiyenin en büyük sosyal medya satış platformu hesapsat.net güvenli ve hızlı alım garantisi ile Türkiye’de alanının en iyisi olmayı başardı. Satılık instagram hesabı arayanlar ve sosyal medya hesaplarını satın almak isteyenlerin %100 müşteri memnuniyeti ile karşılaştığı sitenin türkiyenin en büyük sosyal medya satış platformu olduğu biliniyor.

  42. Really great article, thanks for sharing.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑