Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

SimpleSocketServer - No free buffers for rx

Honored Contributor II



I'm trying to run the SimpleSocketServer program in Eclipse. At the moment I'm getting some error messages when trying to run the program eg: 


([MicroC/OS-II]: Expanded Diagnosis: Failed to create SSSLEDLightshowsem...No free Buffers for rx etc..) Please take a look at the attachment for further details. 


I tried removing a single UART in my SOPC design and re-generate SOPC and compiling the QuartusII project, and that helped make the error messages go away. Still, I need to make the design work when I re-attach the UART in SOPC, can anyone provide some pointers ? 


Could this possibly have something to do with the number of IRQ providers that are connected to the NiosII in SOPC, there are 14 of them when I remove one of the UARTs in the design. 




0 Kudos
2 Replies
Honored Contributor II



from what I can see there have been previous threads on similar issues. From reading the thread I tried: 


1. Increasing the receive depth of the TSE_MAC from 2048x32 bits to 8192x32 bits, but that did not help. 


2. Increasing the MAXBIGPKT and NUMBIGBUFS from 30 to 512 in the "ipport.h" file, only delays the time it takes before the "no free buffers for rx" is displayed on the Nios II Console.  


The SSSLEDLightshowSem error messages persist and there is a delay before the DHCP aquired IP address is displayed on the NiosII Console(the delay is shorter when having removed a single UART in the SOPC design.  


The removal of a single UART some how also avoids the SSSLedLightshowSem error messages and let me run the SSS application).  


Also, I noticed that If I try pinging the socket server between the time the DHCP aquired IP address is printed to the Nios II Console and the "Simple Socket Server starting up" message, the socket server is replying  


Some pointers would be nice  


Honored Contributor II

Did you find how to solve this problem ? I have the same right now