Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am currently experimenting with uCOS-II on ATMega 103.
But I just started, so I am not sure if I will be able to help you.
What do you want to know ?
uCOS-II is mainly a realtime preemptive multitasking kernel, not real OS.
It is good when your app. can be written as a number of parallel running tasks with different priorities.
Tasks are independent and communicate via mailboxes, semaphores etc.
venz: cooperative (non-preemtive) kernel means that the tasks must cooperate with each other to share CPU.
Preemptive kernel means that the taks with highest priority has always the control of CPU. If some action (e.g. interrupt) raise the priority of some task, this task immediately will have the CPU.
Preemptive kernels has better responsiveness and task level response is deterministic.
Cooperative kernels have also some advantages, like low interrupt latency.
If you have a real-time application with many tasks, writing it without an RTOS is asking for trouble. (In fact you are really writing one yourself and you'll likely be sorry.) uCos-II comes as source and is easily configured to use only what is needed. It is remarkably inexpensive for what it does and it works well on small micros.
I also am just starting to learn to use uCOS-II v2.52 for the PIC18. Does anyone have some example programs that I could look at to learn the proper programming style or technique?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.