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
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

netmain hangs

MichaelV
Beginner
1,211 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
1,158 Views

May I know which document you followed?


0 Kudos
EricMunYew_C_Intel
Moderator
1,149 Views

you need to attach to PHY.


0 Kudos
MichaelV
Beginner
1,144 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