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++
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

netmain hangs

MichaelV
Beginner
457 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
404 Views

May I know which document you followed?


EricMunYew_C_Intel
Moderator
395 Views

you need to attach to PHY.


MichaelV
Beginner
390 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

Reply