Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

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

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:

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 ....)

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.