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++
12691 Discussions

The niche stack is the FPGA seems to be very unstable...

Altera_Forum
Honored Contributor II
1,131 Views

Hi, 

guy, 

 

I have modifeid the multicore socket server example for my project. But when the niche stack is trying to initialize , it is very unstable .Sometimes it succeeds, but sometimes it fails .It just gets stuck when it is trying to detect the physical link or when it is creating the niche socket "tick " task(if I remember correctly). 

 

The problem is that in my project, I have 4 nios2 CPUs on one NEEK(only one use the niche stack). I am not sure whether the problem of niche stack is caused by the fact the each CPU's resource is not enough? By the way, I use switch to connect several NEEKs. 

 

Do anyone here have the same problem? Thanks!:(:confused:
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
398 Views

Is this caused by the network switch I used? I think the most possible reason is that there are some problems in my SOPC system(like the CPU's cache is not enough ....)

0 Kudos
Altera_Forum
Honored Contributor II
398 Views

Hi, I think I have figured it out . In one of the tutorials(maybe using the nickestack turorial) from where I build my system , the priority of the timer for the processor connecting to MAC is very low. When I set it to be 0(highest), my previous problem seems to be solved.

0 Kudos
Reply