Forum Discussion
MichaelV
New Contributor
5 years agonetmain 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
- EricMunYew_C_Intel
Frequent Contributor
May I know which document you followed?
- EricMunYew_C_Intel
Frequent Contributor
you need to attach to PHY.
- MichaelV
New 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