[En-Nut-Discussion] [ethernut1.3f] NutOs hangs up when registering DEV_ETHER device.

Thiago A. Corrêa thiago.correa at gmail.com
Wed Sep 21 20:45:22 CEST 2011


On Wed, Sep 21, 2011 at 3:31 PM, Mateusz Szubart <mszubart at gmail.com> wrote:
> Hello everybody! It's my first post on this list, so I want to introduce myself.
> I'm Mathew Szubart and I work as a automatics programmer in one of
> Polish companies.

Welcome to the list. :)

> I'm trying to find out what can cause this behavior. Can you tell me
> what mcu resources (except for INT6, memory and processor cycles)
> NutOs is using to handle networking?

Can't think of anything. We had problems in the past with the timing
of the reset line of the MCU, but doesn't look like it.
Other than that, just for networking it also uses threads, but in
NutOS they are not concurrent, they are cooperating threads. This
means one has to yield for the other to run.

Maybe when you don't register the ethernet it will just return sooner
from some calls, could this be a stack problem? Maybe you could use a
higher value in Nut Config.
Does this also happen in Nut OS examples, say the httpd for example?

Kind Regards,
    Thiago A. Correa

More information about the En-Nut-Discussion mailing list