HELP : keeping time on at91sam

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

litham
Posts: 3
Joined: Mon May 11, 2009 11:30 am

HELP : keeping time on at91sam

Wed Jun 10, 2009 4:04 pm

Hi,
I use at91sam9260, and when I restar it, the time back to 1970-01-01....
I want to kow how to keep time without change.


I try to use ntpclient, but it returns unknown host
I try sntpdate it returns service name error.
I try to use ntpdate and it retuns servname not supported for at_socktype

I wanted to add the lines
ntp 123/tcp Network Time Protocol
ntp 123/udp Network Time Protocol

to /etc/services file, but I can't find it.


thanx a lot

Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 2 guests