[En-Nut-Discussion] System restart continusly

Ayman Hendawy ayman.hendawy at gmail.com
Fri Sep 14 15:02:41 CEST 2012


Hi,

I have Ethernut board1.3H, running ethernut 4.8.9, I created  2 tasks plus
4 httpd tasks, and at the beginning in the main function I call timing
application to set and get the current time using the following methods,
struct _tm *gmt;
:
 secs = time(NULL);
:
gmt = gmtime(&secs);

 struct _tm ltm;
 time_t now;
:
:
 now = mktime(&ltm);

The problem is that I found my board always restart every 10 minutes, I
don't know why it's restarting, and how to fix it.

Thanks for your help.



-- 
Best regards

Ayman Hendawy
Embedded system engineer

Cairo,Egypt

Phone: +20110406659



More information about the En-Nut-Discussion mailing list