12-26-2014 10:59 AM
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.
12-26-2014 06:36 PM
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
12-28-2014 06:44 PM
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.
12-28-2014 07:52 PM
--- 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