Altera_Forum
Honored Contributor
10 years agoHow does NicheStack recognize Ethernet interfaces?
Hello,
I am using uC/OS II on Nios II processor. I want to create a simple socket server. I want to understand how will the NicheStack know if an ethernet interface is present or not? I am debugging a problem --> unable to find any working interfaces. I know that this error message arise from ip_startup() function stored in ipstart.c file. It seems that in iniche_devices_init() stored in alt_iniche_dev.c, initialization of InterNiche devices fail. The InterNiche devices List -- p_dev and p_dev_list_end have same values for some reason. So this function returns 0 as if_count (interface count). I do not know the exact reason. Can anyone throw some light on this?