[En-Nut-Discussion] Need help: interrupt resets device.

Dmitry Beklemishev dbeklemishev at csa.kz
Wed Apr 4 10:35:57 CEST 2007


Harald, thank you for your reply. I tried to completely disable watchdog and
all threads, but it does not help. By the way, behavior of the program can
vary -- sometimes it can just lost the network instead of restarting,
sometimes the interrupt begins to occur very frequently without any external
event that causes it... I tried not to use Nut/OS interrupts API (using
SIGNAL(SIG_INTERRUPT3)), but the result was almost the same.
Thank you for support,
Dmitry.
-------------------------


Dmitry,

I don't think that the interrupt is the problem. Disable your watchdog 
in order to see, if that causes the reset. If you created additional 
threads, increase their stack space.

Harald

Dmitry Beklemishev schrieb:
> Good day!
>
> I have Ethernut 2.1 board and Nut/OS v.4.2.1.
>
> The problem is that INTERRUPT3 resets device when occurs. The code is
below.
>
>  
>
> static void irqhandler(void *arg)
>
> {
>
> // Reset occurs even with empty handler
>
> }
>
>  
>   

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list