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.
12409 Discussions

MicroC/OS-II Real-Time Operating System Resets after sometime time

Altera_Forum
Honored Contributor II
754 Views

Hi, 

 

I am using the MicroC/OS-II Real-Time Operating System on Nios 2 , Cyclone IV, DE2-115 board. 

I have created two tasks one as a server and other as a client for the Ethernet peripheral. 

 

struct inet_taskinfo ssstask = { 

&to_ssstask, 

"simple socket client", 

SSSSimpleSocketClientTask, 

4, 

APP_STACK_SIZE, 

}; 

 

struct inet_taskinfo sssservertask = { 

&to_sssservertask, 

"simple socket server", 

SSSSimpleSocketServerTask, 

3, 

APP_STACK_SIZE, 

}; 

 

TK_NEWTASK(&ssstask); 

 

TK_NEWTASK(&sssservertask); 

 

Tasks are getting created but once the packets starts coming to the server program the system is gets resets after sometime. I am not sure if the stack is overflowed or not. Could you please help me with this. 

 

Thanks, 

Subrahmanya R(Subbu) 

Mail:subrahmanya.ramaswamy@mavs.uta.edu 

Ph:8172405669
0 Kudos
0 Replies
Reply