Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

simple_socket_server hangs

Hi,

The simple_socket_server hangs on our custom board.

We can run the other RTOS templates, but the server hangs.

It will print out the messages from micronium and then hang.

The debugger show that it is running, but to us it seems that it hangs in

netmain()->OS_sched().

Will this example hang if the LAN91C111 is improperly connected?

/g

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    And the answer is....no it will not.

    But it will hang if something is wrong with the flash.

    The reason is the lack of error handling in the template code.

    /g