<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>ColdFire/68K Microcontrollers and ProcessorsのトピックNTP or Time synchronization protocol available?</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NTP-or-Time-synchronization-protocol-available/m-p/131002#M833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;Aug 30, 2005, 2:05 AM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 8 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] NTP or Time synchronization protocol available?&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I was wondering if there is any way that I can&lt;BR /&gt;implement the time synchronization in my MCF5485&lt;BR /&gt;board from LogicPD.&lt;/DIV&gt;&lt;DIV&gt;My exact requirement is to control the time clock of&lt;BR /&gt;4/5 attached computers running Windows OS. All the&lt;BR /&gt;Windows based computers shall get the time from&lt;BR /&gt;ColdFire board.&lt;/DIV&gt;&lt;DIV&gt;I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;use any of these in Metrowerks BSP.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Please advice me what to do&lt;/DIV&gt;&lt;DIV&gt;Take care,&lt;/DIV&gt;&lt;DIV&gt;Fakhar&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 5:24 PM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; use any of these in Metrowerks BSP.&lt;/DIV&gt;&lt;DIV&gt;First hit in google for "ntp" and "rtems"&lt;/DIV&gt;&lt;DIV&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Depending on the version of rtems you are using you should find&lt;BR /&gt;and appropriate version on the RTEMS ftp server.&lt;/DIV&gt;&lt;DIV&gt;For example for rtems 4.6.2:&lt;/DIV&gt;&lt;DIV&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Hope that helps&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Paul&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 5:28 PM&lt;/DIV&gt;&lt;DIV&gt;Post #3 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Oops... just realised I got confused about which mailing&lt;BR /&gt;list I was reading... My previous reply based on the&lt;BR /&gt;assumption that the 5485 board was running RTEMS.&lt;/DIV&gt;&lt;DIV&gt;Sorry about that..&lt;/DIV&gt;&lt;DIV&gt;Paul&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Aug 30, 2005, 5:57 PM&lt;/DIV&gt;&lt;DIV&gt;Post #4 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;One thing to look at is NTP versus SNTP. NTP set the clock with a much&lt;BR /&gt;higher degree of accuracy, and is more involved. SNTP takes a packet with&lt;BR /&gt;the time and sets the clock- the end accuracy is about a second. The&lt;BR /&gt;windows XP system is happy getting time from my Coldfire box via SNTP. The&lt;BR /&gt;time of day clocks on PC's seem to loose about 1-2 seconds per day, and XP&lt;BR /&gt;as an operation system still seems to miss interrupts- I've seen the clocks&lt;BR /&gt;on the XP machines drift by a minute a month.&lt;BR /&gt;The hardware drift is (last I looked into this in detail was 2000) due to&lt;BR /&gt;the use of 50 PPM xtals in the real time clocks (the things that keep the&lt;BR /&gt;time via a battery). These are the cheapest RTC's available. The RTC chip&lt;BR /&gt;I'm using is a 20 PPM, and at room temperature seems to run about 12 PPM.&lt;BR /&gt;As for how XP looses time at an equivalent 200 PPM rate, I have no idea.&lt;/DIV&gt;&lt;DIV&gt;It seems to me that setting the clock on a windows machine via NTP is like&lt;BR /&gt;making precision CNC holes in a metal strip when a piece of cardboard&lt;BR /&gt;punched with a nail would suffice and be more in tune with the general&lt;BR /&gt;balance of the system.&lt;/DIV&gt;&lt;DIV&gt;It's not too hard to write the SNTP code. Get the RFC2030 for SNTP and&lt;BR /&gt;RFC1305 for NTP (just so you're making an informed choice and understand the&lt;BR /&gt;differences between the two).&lt;/DIV&gt;&lt;DIV&gt;BTW, the box I have can get it's time from a GPS nema stream or off of the&lt;BR /&gt;net via SNTP, and once it has the time it is a sever for any other machines&lt;BR /&gt;on the net. It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;have a PC with time that was accurate to within a second or two.&lt;/DIV&gt;&lt;DIV&gt;- pete ( I seem to be a bit chatty tonight... )&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; From: On&lt;BR /&gt;&amp;gt; Behalf Of Paul Whitfield&lt;BR /&gt;&amp;gt; Sent: Tuesday, August 30, 2005 8:25 PM&lt;BR /&gt;&amp;gt; Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; &amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; &amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; &amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; &amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; &amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; &amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; &amp;gt; use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; First hit in google for "ntp" and "rtems"&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Depending on the version of rtems you are using you should find&lt;BR /&gt;&amp;gt; and appropriate version on the RTEMS ftp server.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; For example for rtems 4.6.2:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Hope that helps&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Regards&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Paul&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 7:49 PM&lt;/DIV&gt;&lt;DIV&gt;Post #5 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;it does, and they did think of it&lt;/DIV&gt;&lt;DIV&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient&lt;BR /&gt;SpecialPollInterval&lt;/DIV&gt;&lt;DIV&gt;change any occurences to that to the period in seconds you want, reboot&lt;/DIV&gt;&lt;DIV&gt;its set to 7 days by default in a standalone configuration, but is reduced&lt;BR /&gt;to less with a domain controller&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------&lt;BR /&gt;It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;have a PC with time that was accurate to within a second or two.&lt;/DIV&gt;&lt;DIV&gt;- pete ( I seem to be a bit chatty tonight... )&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 31, 2005, 5:42 AM&lt;/DIV&gt;&lt;DIV&gt;Post #6 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Cool! So the underlying mechanism is in seconds, it's just that the GUI&lt;BR /&gt;for the set-up isn't as robust as it could be.&lt;/DIV&gt;&lt;DIV&gt;I'm curious how you knew this. Using the various help mechanisms on the&lt;BR /&gt;machine I couldn't find it.&lt;/DIV&gt;&lt;DIV&gt;Thanks for the info!&lt;/DIV&gt;&lt;DIV&gt;- pete&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; From: On&lt;BR /&gt;&amp;gt; Behalf Of charlie wallace&lt;BR /&gt;&amp;gt; Sent: Tuesday, August 30, 2005 10:49 PM&lt;BR /&gt;&amp;gt; To:&lt;BR /&gt;&amp;gt; Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; it does, and they did think of it&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders&lt;BR /&gt;&amp;gt; \NtpClient&lt;BR /&gt;&amp;gt; SpecialPollInterval&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; change any occurences to that to the period in seconds you want, reboot&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; its set to 7 days by default in a standalone configuration, but is reduced&lt;BR /&gt;&amp;gt; to less with a domain controller&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 31, 2005, 6:55 AM&lt;/DIV&gt;&lt;DIV&gt;Post #7 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Pete,&lt;/DIV&gt;&lt;DIV&gt;There's a Windows program out there called something like ntp_time or&lt;BR /&gt;ntptime that you can set up as a Windows service that does what you&lt;BR /&gt;want. I also thought you could make Windows do an SNTP sync itself with&lt;BR /&gt;some variations of the net.exe command, but I can't recall exactly how&lt;BR /&gt;right now.&lt;/DIV&gt;&lt;DIV&gt;-- JWB&lt;/DIV&gt;&lt;DIV&gt;Peter Hallenbeck wrote:&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; One thing to look at is NTP versus SNTP. NTP set the clock with a much&lt;BR /&gt;&amp;gt;higher degree of accuracy, and is more involved. SNTP takes a packet with&lt;BR /&gt;&amp;gt;the time and sets the clock- the end accuracy is about a second. The&lt;BR /&gt;&amp;gt;windows XP system is happy getting time from my Coldfire box via SNTP. The&lt;BR /&gt;&amp;gt;time of day clocks on PC's seem to loose about 1-2 seconds per day, and XP&lt;BR /&gt;&amp;gt;as an operation system still seems to miss interrupts- I've seen the clocks&lt;BR /&gt;&amp;gt;on the XP machines drift by a minute a month.&lt;BR /&gt;&amp;gt; The hardware drift is (last I looked into this in detail was 2000) due to&lt;BR /&gt;&amp;gt;the use of 50 PPM xtals in the real time clocks (the things that keep the&lt;BR /&gt;&amp;gt;time via a battery). These are the cheapest RTC's available. The RTC chip&lt;BR /&gt;&amp;gt;I'm using is a 20 PPM, and at room temperature seems to run about 12 PPM.&lt;BR /&gt;&amp;gt;As for how XP looses time at an equivalent 200 PPM rate, I have no idea.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; It seems to me that setting the clock on a windows machine via NTP is like&lt;BR /&gt;&amp;gt;making precision CNC holes in a metal strip when a piece of cardboard&lt;BR /&gt;&amp;gt;punched with a nail would suffice and be more in tune with the general&lt;BR /&gt;&amp;gt;balance of the system.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; It's not too hard to write the SNTP code. Get the RFC2030 for SNTP and&lt;BR /&gt;&amp;gt;RFC1305 for NTP (just so you're making an informed choice and understand the&lt;BR /&gt;&amp;gt;differences between the two).&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; BTW, the box I have can get it's time from a GPS nema stream or off of the&lt;BR /&gt;&amp;gt;net via SNTP, and once it has the time it is a sever for any other machines&lt;BR /&gt;&amp;gt;on the net. It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;&amp;gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;&amp;gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;&amp;gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;&amp;gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;&amp;gt;have a PC with time that was accurate to within a second or two.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; - pete ( I seem to be a bit chatty tonight... )&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;-----Original Message-----&lt;BR /&gt;&amp;gt;&amp;gt;From: On&lt;BR /&gt;&amp;gt;&amp;gt;Behalf Of Paul Whitfield&lt;BR /&gt;&amp;gt;&amp;gt;Sent: Tuesday, August 30, 2005 8:25 PM&lt;BR /&gt;&amp;gt;&amp;gt;Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;board from LogicPD.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;Windows based computers shall get the time from&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;ColdFire board.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;First hit in google for "ntp" and "rtems"&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Depending on the version of rtems you are using you should find&lt;BR /&gt;&amp;gt;&amp;gt;and appropriate version on the RTEMS ftp server.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;For example for rtems 4.6.2:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hope that helps&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Regards&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Paul&lt;BR /&gt;&amp;gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;BR /&gt;Aug 31, 2005, 11:14 AM&lt;/DIV&gt;&lt;DIV&gt;Post #8 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;gt; some variations of the net.exe command, but I can't recall exactly how&lt;BR /&gt;&amp;gt; right now.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;net time &lt;A target="_blank"&gt;\\computername&lt;/A&gt; or /domain:domainname&lt;/DIV&gt;&lt;DIV&gt;net help time&lt;/DIV&gt;&lt;DIV&gt;also available to help with sync setup&lt;BR /&gt;w32tm&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;gt; I'm curious how you knew this. Using the various help mechanisms on the&lt;BR /&gt;&amp;gt;machine I couldn't find it.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ftechnet.microsoft.com%2F" rel="nofollow" target="_blank"&gt;http://technet.microsoft.com&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;search for ntp in technet search box&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:09 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:37 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Apr 2006 07:48:54 GMT</pubDate>
    <dc:creator>Dietrich</dc:creator>
    <dc:date>2006-04-01T07:48:54Z</dc:date>
    <item>
      <title>NTP or Time synchronization protocol available?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NTP-or-Time-synchronization-protocol-available/m-p/131002#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;Aug 30, 2005, 2:05 AM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 8 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] NTP or Time synchronization protocol available?&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I was wondering if there is any way that I can&lt;BR /&gt;implement the time synchronization in my MCF5485&lt;BR /&gt;board from LogicPD.&lt;/DIV&gt;&lt;DIV&gt;My exact requirement is to control the time clock of&lt;BR /&gt;4/5 attached computers running Windows OS. All the&lt;BR /&gt;Windows based computers shall get the time from&lt;BR /&gt;ColdFire board.&lt;/DIV&gt;&lt;DIV&gt;I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;use any of these in Metrowerks BSP.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Please advice me what to do&lt;/DIV&gt;&lt;DIV&gt;Take care,&lt;/DIV&gt;&lt;DIV&gt;Fakhar&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 5:24 PM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; use any of these in Metrowerks BSP.&lt;/DIV&gt;&lt;DIV&gt;First hit in google for "ntp" and "rtems"&lt;/DIV&gt;&lt;DIV&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Depending on the version of rtems you are using you should find&lt;BR /&gt;and appropriate version on the RTEMS ftp server.&lt;/DIV&gt;&lt;DIV&gt;For example for rtems 4.6.2:&lt;/DIV&gt;&lt;DIV&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Hope that helps&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Paul&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 5:28 PM&lt;/DIV&gt;&lt;DIV&gt;Post #3 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Oops... just realised I got confused about which mailing&lt;BR /&gt;list I was reading... My previous reply based on the&lt;BR /&gt;assumption that the 5485 board was running RTEMS.&lt;/DIV&gt;&lt;DIV&gt;Sorry about that..&lt;/DIV&gt;&lt;DIV&gt;Paul&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Aug 30, 2005, 5:57 PM&lt;/DIV&gt;&lt;DIV&gt;Post #4 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;One thing to look at is NTP versus SNTP. NTP set the clock with a much&lt;BR /&gt;higher degree of accuracy, and is more involved. SNTP takes a packet with&lt;BR /&gt;the time and sets the clock- the end accuracy is about a second. The&lt;BR /&gt;windows XP system is happy getting time from my Coldfire box via SNTP. The&lt;BR /&gt;time of day clocks on PC's seem to loose about 1-2 seconds per day, and XP&lt;BR /&gt;as an operation system still seems to miss interrupts- I've seen the clocks&lt;BR /&gt;on the XP machines drift by a minute a month.&lt;BR /&gt;The hardware drift is (last I looked into this in detail was 2000) due to&lt;BR /&gt;the use of 50 PPM xtals in the real time clocks (the things that keep the&lt;BR /&gt;time via a battery). These are the cheapest RTC's available. The RTC chip&lt;BR /&gt;I'm using is a 20 PPM, and at room temperature seems to run about 12 PPM.&lt;BR /&gt;As for how XP looses time at an equivalent 200 PPM rate, I have no idea.&lt;/DIV&gt;&lt;DIV&gt;It seems to me that setting the clock on a windows machine via NTP is like&lt;BR /&gt;making precision CNC holes in a metal strip when a piece of cardboard&lt;BR /&gt;punched with a nail would suffice and be more in tune with the general&lt;BR /&gt;balance of the system.&lt;/DIV&gt;&lt;DIV&gt;It's not too hard to write the SNTP code. Get the RFC2030 for SNTP and&lt;BR /&gt;RFC1305 for NTP (just so you're making an informed choice and understand the&lt;BR /&gt;differences between the two).&lt;/DIV&gt;&lt;DIV&gt;BTW, the box I have can get it's time from a GPS nema stream or off of the&lt;BR /&gt;net via SNTP, and once it has the time it is a sever for any other machines&lt;BR /&gt;on the net. It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;have a PC with time that was accurate to within a second or two.&lt;/DIV&gt;&lt;DIV&gt;- pete ( I seem to be a bit chatty tonight... )&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; From: On&lt;BR /&gt;&amp;gt; Behalf Of Paul Whitfield&lt;BR /&gt;&amp;gt; Sent: Tuesday, August 30, 2005 8:25 PM&lt;BR /&gt;&amp;gt; Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Fakhar Imran wrote:&lt;BR /&gt;&amp;gt; &amp;gt; I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt; &amp;gt; implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt; &amp;gt; board from LogicPD.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt; &amp;gt; 4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt; &amp;gt; Windows based computers shall get the time from&lt;BR /&gt;&amp;gt; &amp;gt; ColdFire board.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt; &amp;gt; use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; First hit in google for "ntp" and "rtems"&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Depending on the version of rtems you are using you should find&lt;BR /&gt;&amp;gt; and appropriate version on the RTEMS ftp server.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; For example for rtems 4.6.2:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Hope that helps&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Regards&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Paul&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 30, 2005, 7:49 PM&lt;/DIV&gt;&lt;DIV&gt;Post #5 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;it does, and they did think of it&lt;/DIV&gt;&lt;DIV&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient&lt;BR /&gt;SpecialPollInterval&lt;/DIV&gt;&lt;DIV&gt;change any occurences to that to the period in seconds you want, reboot&lt;/DIV&gt;&lt;DIV&gt;its set to 7 days by default in a standalone configuration, but is reduced&lt;BR /&gt;to less with a domain controller&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------&lt;BR /&gt;It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;have a PC with time that was accurate to within a second or two.&lt;/DIV&gt;&lt;DIV&gt;- pete ( I seem to be a bit chatty tonight... )&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 31, 2005, 5:42 AM&lt;/DIV&gt;&lt;DIV&gt;Post #6 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;RE: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Cool! So the underlying mechanism is in seconds, it's just that the GUI&lt;BR /&gt;for the set-up isn't as robust as it could be.&lt;/DIV&gt;&lt;DIV&gt;I'm curious how you knew this. Using the various help mechanisms on the&lt;BR /&gt;machine I couldn't find it.&lt;/DIV&gt;&lt;DIV&gt;Thanks for the info!&lt;/DIV&gt;&lt;DIV&gt;- pete&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; From: On&lt;BR /&gt;&amp;gt; Behalf Of charlie wallace&lt;BR /&gt;&amp;gt; Sent: Tuesday, August 30, 2005 10:49 PM&lt;BR /&gt;&amp;gt; To:&lt;BR /&gt;&amp;gt; Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; it does, and they did think of it&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders&lt;BR /&gt;&amp;gt; \NtpClient&lt;BR /&gt;&amp;gt; SpecialPollInterval&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; change any occurences to that to the period in seconds you want, reboot&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; its set to 7 days by default in a standalone configuration, but is reduced&lt;BR /&gt;&amp;gt; to less with a domain controller&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Aug 31, 2005, 6:55 AM&lt;/DIV&gt;&lt;DIV&gt;Post #7 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Pete,&lt;/DIV&gt;&lt;DIV&gt;There's a Windows program out there called something like ntp_time or&lt;BR /&gt;ntptime that you can set up as a Windows service that does what you&lt;BR /&gt;want. I also thought you could make Windows do an SNTP sync itself with&lt;BR /&gt;some variations of the net.exe command, but I can't recall exactly how&lt;BR /&gt;right now.&lt;/DIV&gt;&lt;DIV&gt;-- JWB&lt;/DIV&gt;&lt;DIV&gt;Peter Hallenbeck wrote:&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; One thing to look at is NTP versus SNTP. NTP set the clock with a much&lt;BR /&gt;&amp;gt;higher degree of accuracy, and is more involved. SNTP takes a packet with&lt;BR /&gt;&amp;gt;the time and sets the clock- the end accuracy is about a second. The&lt;BR /&gt;&amp;gt;windows XP system is happy getting time from my Coldfire box via SNTP. The&lt;BR /&gt;&amp;gt;time of day clocks on PC's seem to loose about 1-2 seconds per day, and XP&lt;BR /&gt;&amp;gt;as an operation system still seems to miss interrupts- I've seen the clocks&lt;BR /&gt;&amp;gt;on the XP machines drift by a minute a month.&lt;BR /&gt;&amp;gt; The hardware drift is (last I looked into this in detail was 2000) due to&lt;BR /&gt;&amp;gt;the use of 50 PPM xtals in the real time clocks (the things that keep the&lt;BR /&gt;&amp;gt;time via a battery). These are the cheapest RTC's available. The RTC chip&lt;BR /&gt;&amp;gt;I'm using is a 20 PPM, and at room temperature seems to run about 12 PPM.&lt;BR /&gt;&amp;gt;As for how XP looses time at an equivalent 200 PPM rate, I have no idea.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; It seems to me that setting the clock on a windows machine via NTP is like&lt;BR /&gt;&amp;gt;making precision CNC holes in a metal strip when a piece of cardboard&lt;BR /&gt;&amp;gt;punched with a nail would suffice and be more in tune with the general&lt;BR /&gt;&amp;gt;balance of the system.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; It's not too hard to write the SNTP code. Get the RFC2030 for SNTP and&lt;BR /&gt;&amp;gt;RFC1305 for NTP (just so you're making an informed choice and understand the&lt;BR /&gt;&amp;gt;differences between the two).&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; BTW, the box I have can get it's time from a GPS nema stream or off of the&lt;BR /&gt;&amp;gt;net via SNTP, and once it has the time it is a sever for any other machines&lt;BR /&gt;&amp;gt;on the net. It would be nice if Windows XP allowed you to get the time from&lt;BR /&gt;&amp;gt;the net at a frequency greater than 10 days. I suspect they wanted to keep&lt;BR /&gt;&amp;gt;overall network traffic down, but didn't think to do something clever like&lt;BR /&gt;&amp;gt;allow you to get the time up to a few times a day _if_ the time server is on&lt;BR /&gt;&amp;gt;the same local network. That would be too intuitive and actually let you&lt;BR /&gt;&amp;gt;have a PC with time that was accurate to within a second or two.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; - pete ( I seem to be a bit chatty tonight... )&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;-----Original Message-----&lt;BR /&gt;&amp;gt;&amp;gt;From: On&lt;BR /&gt;&amp;gt;&amp;gt;Behalf Of Paul Whitfield&lt;BR /&gt;&amp;gt;&amp;gt;Sent: Tuesday, August 30, 2005 8:25 PM&lt;BR /&gt;&amp;gt;&amp;gt;Subject: Re: [ColdFire] NTP or Time synchronization protocol available?&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Fakhar Imran wrote:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;I was wondering if there is any way that I can&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;implement the time synchronization in my MCF5485&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;board from LogicPD.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;My exact requirement is to control the time clock of&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;4/5 attached computers running Windows OS. All the&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;Windows based computers shall get the time from&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;ColdFire board.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;I searched for NTP and IEEE1588 but not sure how to&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;use any of these in Metrowerks BSP.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;First hit in google for "ntp" and "rtems"&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rtems.com%2Fcgi-bin%2Fviewcvs.cgi%2Fntp-4.1.1a-rtems%2Fntp-4.1.1a%2F" rel="nofollow" target="_blank"&gt;http://www.rtems.com/cgi-bin/viewcvs.cgi/ntp-4.1.1a-rtems/ntp-4.1.1a/&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Depending on the version of rtems you are using you should find&lt;BR /&gt;&amp;gt;&amp;gt;and appropriate version on the RTEMS ftp server.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;For example for rtems 4.6.2:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.rtems.com%2Fpub%2Frtems%2F4.6.2%2Fcontrib%2Fntp-4.1.1a" rel="nofollow" target="_blank"&gt;ftp://ftp.rtems.com/pub/rtems/4.6.2/contrib/ntp-4.1.1a&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hope that helps&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Regards&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Paul&lt;BR /&gt;&amp;gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;BR /&gt;Aug 31, 2005, 11:14 AM&lt;/DIV&gt;&lt;DIV&gt;Post #8 of 8 (27 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] NTP or Time synchronization protocol available? [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;gt; some variations of the net.exe command, but I can't recall exactly how&lt;BR /&gt;&amp;gt; right now.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;net time &lt;A target="_blank"&gt;\\computername&lt;/A&gt; or /domain:domainname&lt;/DIV&gt;&lt;DIV&gt;net help time&lt;/DIV&gt;&lt;DIV&gt;also available to help with sync setup&lt;BR /&gt;w32tm&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;gt; I'm curious how you knew this. Using the various help mechanisms on the&lt;BR /&gt;&amp;gt;machine I couldn't find it.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ftechnet.microsoft.com%2F" rel="nofollow" target="_blank"&gt;http://technet.microsoft.com&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;search for ntp in technet search box&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:09 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:37 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2006 07:48:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NTP-or-Time-synchronization-protocol-available/m-p/131002#M833</guid>
      <dc:creator>Dietrich</dc:creator>
      <dc:date>2006-04-01T07:48:54Z</dc:date>
    </item>
  </channel>
</rss>

