Continue to Site

Welcome to

Welcome to our site! 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.

RTOS and AVR ATMega128...

Not open for further replies.


Full Member level 2
May 30, 2001
Reaction score
Trophy points
Activity points
avr rtos

Does anyone have any experiance with a RTOS for ATMega128?
For example ucOS?

thanx in advance,

greetz, venz.

rtos avr

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 ?

rtos for avr

I tested UCOS-II for AVR port, it works nice. But do not forget about external memory

ucos avr

which AVR did you use?

What about external memory??

How is the performance?

greetz, venz.

ucos-ii avr

I used Atmega 128 16MHz and 64 kb external memory, UCOS consumed less 1 Kb, perfomance is good.

atmega128 rtos

Any experiance with EhterNut NOT/OS?

greetz, venz.

rtos atmega

I work with atmel every day in C.
I don't understand as an Os can help me.
Can someone tell me the advantages for one as me?

rtos atmega128

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.

atmega rtos

I already do this in C.

Every part of the main ago an operation.
Anybody part can stop the loop.

avr ucos

You can use cooperative RTOS with less overheads

rtos mega128

what is the difference between cooperative & preemptive?

uc/os avr

RTOS is selective and not alone choice!

ucos ii avr

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.

avr ucos-ii

Please look UCOS documentation book, there are nice explanations

ucos-ii avr port

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.

cooperative rtos

Hi All,

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?

Thanks in advance for your help


rtos for atmega 128

**broken link removed**


Not open for further replies.

Part and Inventory Search

Welcome to