Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
701 Views

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

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