Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12535 Discussions

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

Altera_Forum
Honored Contributor II
849 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