Forum Discussion

MichaelV's avatar
MichaelV
Icon for New Contributor rankNew Contributor
4 years ago

netmain hangs

Hello,

I have a custom board on which I want to add ethernet. Whenever I call netmain() in initialTask() the application hangs.

alt_iniche_init();
netmain();

/* Wait for the network stack to be ready before proceeding.
* iniche_net_ready indicates that TCP/IP stack is ready, and IP address is obtained.
*/
while (!iniche_net_ready)
TK_YIELD();

Whenever I remove netmain() and the following while-loop the application runs okay (without ethernet off-course)

Note that the board does not have any physical PHY connected yet.

3 Replies

    • MichaelV's avatar
      MichaelV
      Icon for New Contributor rankNew Contributor

      Hello Eric,

      Thank you for you response. I also concluded that I actually need a physical PHY.

      When I get one mounted on the board I hope my issues will be solved.

      Michael