Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

netmain hangs

MichaelV
Beginner
696 Views

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.

0 Kudos
3 Replies
EricMunYew_C_Intel
Moderator
643 Views

May I know which document you followed?


0 Kudos
EricMunYew_C_Intel
Moderator
634 Views

you need to attach to PHY.


0 Kudos
MichaelV
Beginner
629 Views

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

0 Kudos
Reply