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

Porting linux based application on uCOS

Altera_Forum
Honored Contributor II
1,036 Views

Hello, 

 

I am new to this forum and to uCos. I am trying to investigate if we can port our application on uCos II. Could some one please share their views/experience about uCos II. 

 

Our applciation currently works on Linux and it uses POSIX pthreads, Semaphores, Mutex, RAW Socket packet handling.  

 

Is it possible to use multiple threads in uCosII. Is there a API for raw packet handling some thing like pcap in linux.  

 

Kindly share your opinions on this issue. 

 

Cheers 

Tama
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
132 Views

uCOS doesn't have a POSIX API, so you'll have to convert all your pthread, semaphores and mutex calls to the uCOS API. 

As for raw sockets, AFAIK there is no API to access them. The Interniche TCP/IP stack is rather simple, and if you want raw sockets you'll probably have to go into the stack code and modify it yourself.
Altera_Forum
Honored Contributor II
132 Views

Thanks for the reply.

Reply