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. IndoMovie21 merupakan situs penyedia layanan streaming film dan streaming serial tv gratis dengan lebih dari 15000 pilihan.

  2. maklon minuman adalah pembuatan sebuah produk minuman dari pabrik atau customer untuk menciptakan sebuah produk minuman yang diberi merk dari brandnya sendiri.

  3. strategibola Merupakan Kumpulan berita terbaru Prediksi Skor Sepakbola Malam Ini serta topik-topik terhangat di dunia sepak bola

  4. platform Macanbola News Pusat Berita Terupdate dan berita sepak bola yang didirikan dengan tujuan memberikan informasi terkini dan terpercaya kepada para penggemar sepak bola di seluruh dunia.

  5. Ligapedia Gudang Berita Terupdate Setiap Hari dan berbagai macam Informasi menarik seputar Sepak Bola, Politik, Infotaiment, Hiburan, Jalan-jalan, Kulineran, dan masih banyak lagi.

  6. NAGALIGA NEWS memberikan Berita Terkini Nagaliga yang dapat diakses secara mudah, cepat, tepat, akurat, dan pastinya terupdate setiap saat

  7. Bandarjitu News merupakan situs yang berisi berbagai Pusat Informasi Bisnis dan Berita Bisnis Terupdate, serta berita-berita lainnya

  8. wings138 merupakan sebuah daftar situs judi slot gacor gampang menang yang berikan beragam macam keuntungan didalamnya.

  9. We offer a wide range of services for students of diverse backgrounds, including information on scholarships, Kanjeng Slot, job opportunities, mentoring opportunities, and other services.

  10. hobi69 situs slot gacor terbaik dan terpercaya hari ini. Hobi69 adalah penyedia permainan slot gacor nomor satu di Indonesia.

  11. Perlu disadari bahwa bertaruh judi slot gacor gampang menang sangat menyenangkan, terutama ketika kita berhasil memenangi dan mencapai jackpot pada hari itu

  12. okeplay777 memberikan kamu tempat untuk bermain agar tidak jenuh dan bisa beraktivitas sembari mencari uang.

  13. ATOM138 Situs Slot Gacor Resmi Terpercaya telah menjadi pusat perhatian bagi banyak pecinta judi online di Indonesia.

  14. deposit pulsa merupakan situs Slot Online terbaru dan terbaik 2023 yang bekerja sama dengan perusahaan besar judi online salah satu nya yaitu menyediakan permainan slot online

  15. lewd video We update adult videos every day. Note that you must be 18 or over to access this site!

  16. judo toto adalah bandar judi bola dan togel online indonesia terpercaya yang menyediakan banyak provider sportsbook, pasaran togel online, livegame, slot, permainan kartu, dan tembak ikan terbaik

  17. Daftar Slot Gacor Deposit DANA 10Rb agen Slot Resmi Zeus Petir Semua provider berikut berlomba – lomba membawa dampak slot deposit via DANA paling gacor

  18. I found your blog post to be thought-provoking and informative. It has given me a lot to think about and has inspired me to continue exploring this topic further. Thank you for sharing your insights and expertise with us!

  19. Fildena 100 inhibits the action of PDE5, which allows cGMP to accumulate, promoting prolonged and improved blood flow

  20. I want to express my admiration for your impressive work! Your commitment and expertise are truly inspiring. You’ve made a significant difference, and your contributions are invaluable. Keep up the outstanding work, and know that your efforts don’t go unnoticed!

  21. judototo adalah bandar judi bola dan togel online indonesia terpercaya yang menyediakan banyak provider sportsbook, pasaran togel online, livegame, slot, permainan kartu, dan tembak ikan terbaik

  22. The Daily Martech adalah media digital yang akan berbagi informasi, opini, berita, tips & trick, tutorial, dan hal menarik lainnya terkait berita digital marketing dan marketing technology.

  23. usually posts some incredibly interesting stuff like this.

  24. Absolutely loved reading your blog post! Your insights on the topic are truly thought-provoking and well-researched. The way you explained was incredibly clear and engaging. I am a Assessment Help provider with the team of experts. Our dedicated team of experts is committed to providing comprehensive support for all your assessment needs. Whether you’re tackling challenging assignments, writing research papers, or preparing for exams, our services are tailored to help you achieve academic excellence with confidence. We understand the pressures of academic life and the importance of timely submission. Therefore, we offer timely assistance, ensuring you meet your deadlines while maintaining the highest quality and academic integrity. Say goodbye to academic stress and hello to top-notch assistance. With Assessment Help, you’re on the path to success in your educational journey.Absolutely loved reading your blog post! Your insights on the topic are truly thought-provoking and well-researched. The way you explained was incredibly clear and engaging. I am a Assessment Help provider with the team of experts. Our dedicated team of experts is committed to providing comprehensive support for all your assessment needs. Whether you’re tackling challenging assignments, writing research papers, or preparing for exams, our services are tailored to help you achieve academic excellence with confidence. We understand the pressures of academic life and the importance of timely submission. Therefore, we offer timely assistance, ensuring you meet your deadlines while maintaining the highest quality and academic integrity. Say goodbye to academic stress and hello to top-notch assistance. With Assessment Help, you’re on the path to success in your educational journey.

  25. jasa pemasangan paving Kami Bekerja Keras Untuk Memberikan Anda Layanan Berkualitas Terbaik

  26. converter with built-in RTP cleaning features and easy switch between the pola and web gacor: Kanjengslot.

  27. Thanks for sharing this informative article for blog commenting.

  28. Gomubet selalu memberikan pelayanan terbaik dan menyenangkan melayani 7 x 24 Jam. Hubungi kami jika anda memiliki pertanyaan apapun kendala anda.

  29. Gomubet Situs yang telah mendapat lisensi agen resmi dan terpantau langsung setiap transaksi maka dari itu bisa dipastikan kemananan anda sebagai pemain judi online.

  30. situs slot online sweet bonanza slot terbaik dan terpercaya. Bagi anda yang sedang mencari situs slot88 login terbaik, maka Gemini99 adalah jawabannya.

  31. Nice read! Short and sweet, yet very informative. Optimizing Amazon product listings is essential for improving visibility and sales on the largest online marketplace. Improving titles, descriptions, images, and keywords can draw more customers, increase conversions, and beat competitors. Learn the strategies behind Amazon product listing optimization for e-commerce success.

  32. please select my website to get much money Holyslot

  33. usually posts some very exciting stuff like this. If youre new to this site
    هزینه عمل لابیاپلاستی

  34. Established as a Proprietor firm in the year 2020, we “PITRUKRUPA INDUSTRIES” are a leading Manufacturer of a wide range of Cube Moulds, BeamMould, Gogo Machine, etc.

  35. saklar mewah murah adalah komponen penting dalam desain interior rumah modern. Pemilihan saklar yang tepat dapat memberikan sentuhan akhir yang elegan dan sesuai dengan gaya rumah minimalis Anda.

  36. Yomovies is a popular online streaming platform that offers a vast collection of movies and TV shows in high-definition quality.
    https://yomoviesx.co/

  37. What a great article!
    Please visit my page as well click here :
    Niagabet

  38. That’s a lovely page that you working on.
    Please visit my page as well click here :
    Nagaslot

  39. https://inisumedang.com/ Kumpulan berita terbaru dan terkini seputar wilayah Kabupaten Sumedang Jawa Barat hanya di media siber Ini Sumedang.,

  40. Halo thank you so much for your blogger. Are you looking for a gacor slot site with a promising chance of winning? For those of you especially those who just want to try it, we have compiled a list of gacor slot sites: Indogg with the most attractive chances of winning.

  41. رسالت موسسه خدماتی آموزشی راوی حساب بهبود و ارتقا دانش مالیاتی افراد است. تیم راوی حساب با نیازها و مشکلات مالیاتی افراد آشناست و با ارائه آموزش‌ مالیات در فرمت های متنوع و جامع، تلاش کرده تا اطلاعات و مهارت‌های لازم برای مدیریت بهتر امور مالی و دستیابی به بهره‌وری بیشتر را به مخاطبین عزیز انتقال دهیم تا مخاطبین و مشتریان گرانقدر ما در دامنه ی آموزش مالیات به تسلط و توانمندی‌های لازم برای مواجهه با چالش‌های مالیاتی پیچیده دست یابند و از خدماتی که ارائه می دهیم رضایت کامل داشته باشند.

  42. Mantap168 adalah satu diantaranya blog judi slot online terpercaya serta terbaik di Indonesia yang tentu bakal memberi anda kesan main permainan slot berbeda diperbandingkan situs yang lain.

  43. Mantap168 menjadi simbol dari situs slot yang kerap kali memberikan kemenangan mengesankan bagi para pemainnya.

  44. Thanks for the good and rich content site you have. You can leave your repairs to us.

    • Great post on setting up NTP with a Garmin GPS! For businesses looking to optimize their Amazon advertising campaigns, precise timing can be crucial. Partnering with a dedicated Amazon PPC agency can make a significant difference in campaign performance. These agencies specialize in managing pay-per-click campaigns, ensuring that ads are strategically timed and targeted to maximize ROI. They leverage tools and expertise to fine-tune every aspect of your Amazon ads, from keyword research to bid management. If you’re serious about boosting your Amazon sales, consider the advantages of working with a professional Amazon PPC agency. Keep up the excellent content!

      • Social interaction is a fundamental aspect of human life, shaping our experiences, behaviors, and identities. Through communication and relationships, individuals connect with others, forming communities and social networks that provide support, shared values, and a sense of belonging. Social interactions influence spaceman pragmatic our well-being, mental health, and personal development, highlighting the importance of fostering positive and meaningful connections in our everyday lives.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑