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++
Announcements
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.

niche stack problem

Altera_Forum
Honored Contributor II
730 Views

Hi, 

 

I am attempting communications using sockets between 2 machines using ethernet connection, one of them using NIOS-II niche stackIP. 

 

In the client side(NIOS-II), I have created two tasks one for sending and the other for receive.  

 

 

The following cases work well i.e. communications is working/happening 

 

1) when server and client are continuously sending and receiving.  

2) when server is only sending data continuously/intermittently and client is only receiving. 

3) when server is only receiving and client is only sending continuously. 

 

The problem is that communication fails when 

1) server is continuously receiving and intermittenly sending data...the client(both send and receive are in the same thread/task or different thread/task)) fails to get any data. 

 

 

(In an earlier case....the send and receive functions were present in the same thread/task and LWIP stackIP was used... 

The same program is not working with niche stackIP) 

 

Any suggestions?  

 

Thanking you. 

 

SBY
0 Kudos
0 Replies
Reply