SV: [En-Nut-Discussion] Events

Henrik Torstensson Henrik.Torstensson at tritech.se
Thu Nov 10 16:41:43 CET 2005


Hello 

Yes, I am using timeouts in in my Events. 

How do I check if the clock has started? The return value from NutGetSeconds() seems to be correct. 

Thanks,

Henrik



-----Ursprungligt meddelande-----
Från: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]För Harald Kipp
Skickat: den 9 november 2005 16:10
Till: Ethernut User Chat (English)
Ämne: Re: [En-Nut-Discussion] Events 


At 15:14 09.11.2005 +0100, you wrote:

>I have a strange behaviour in my application. After having loaded the 
>hex-file to the Ethernut bord everything works fine. But if i cut the 
>power off and then put it on again, my Events stops working correct.

Are you using timeouts? May be the 32 kHz clock doesn't
start at power-up.

You may also check for a difference with
- disconnect the DC supply
- switching on the DC supply

Some DC power supplies do have a very slow rising time.
If the reset controller is broken, this may produce
such kind of strange problems.

>Is there a diffrence between a reset and loading a new hex-file?

Yes, uninitialized SRAM may have different contents.

Harald

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion



More information about the En-Nut-Discussion mailing list