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.

Open source OS

Altera_Forum
Honored Contributor II
954 Views

Hi, 

I am a beginner to embedded OS. can you introduce open source RTOS OS to work on Nios II ? I search for a free RTOS OS that its performance is similar to commercial OS such as ecos. 

Best Regards.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
98 Views

Given that you are a beginner, it would be useful to read about an RTOS and be able to use the code. I would recommend downloading the Micrium books about uCOS-III.  

 

http://micrium.com/ 

 

You may need to register to download the PDFs, but its definitely worth it. 

 

The NIOS II examples already have uCOS-II examples. 

 

If you want to understand how to port the OS, then read through this document (its for an ARM microcontroller); 

 

https://www.ovro.caltech.edu/~dwh/ucos/project_ar1803.pdf 

https://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip 

 

uCOS-II and uCOS-III are not open-source, but their source code is available to read. You can use the OS for university and non-commercial purposes. 

 

Once you understand uCOS-II/III you can take a look at other OSes, eg., FreeRTOS. 

 

http://www.freertos.org/ 

 

Cheers, 

Dave
Altera_Forum
Honored Contributor II
98 Views

Dear Dave, 

many thanks. I read some documents about RTOS previously. what is your opinion about read ecos documents to start RTOS learning? 

I am an student and i am working on my final university project. How can i get license of uC/OS-III or uC/OS-II ? 

Best Regards.
Altera_Forum
Honored Contributor II
98 Views

 

--- Quote Start ---  

 

I read some documents about RTOS previously. what is your opinion about read ecos documents to start RTOS learning? 

 

--- Quote End ---  

 

I never found eCOS documentation particularly good. I have this book 

 

http://www.amazon.com/embedded-software-development-anthony-massa/dp/0130354732 

 

which you can download in PDF from 

 

http://ecos.sourceware.org/docs.html 

 

I read it, but was never inspired to use eCOS ... whereas I have had uCOS-II running in one system continuously since 2000. 

 

 

--- Quote Start ---  

 

I am an student and i am working on my final university project. How can i get license of uC/OS-III or uC/OS-II ? 

 

--- Quote End ---  

 

You don't need it. You already have the source to uCOS-II in your Quartus/NIOS installation. You can download the source to uCOS-III from the Micrium site, along with PDF copies of all the books they sell. 

 

Cheers, 

Dave
Reply