Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
clawson
PostPosted: Jul 12, 2008 - 09:50 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Thanks for this list go to Stu_san and RickB who compiled the links:

A list of RTOS links for AVR processors:

FreeRTOS: A Free RTOS for microcontrollers

AvrX: Real-Time Kernel for AVR processors

YAVRTOS: Yet Another Atmel AVR Real-Time Operating System

AVRAsmOS: A tiny OS for small AVRs

pc/OS RTOS Kernel (for larger AVR processors >= mega128)

uSmartX: Non-Preemptive Priority-based Multitask RTOS

COMATOS

Task dispatcher

Opex

mthreads

RTK

csRTOS: one of the longest 'freaks threads ever

Adam Dunkel's Protothreads

Femto OS

TinyOS

Contiki

pico OS

scmRTOS: a C++ OS with Mit license

NUTOS (also Ethernut)

SST - Super Simple Tasker

FunkOS

AtomThreads

XMK (may no longer be supported)

BeRTOS (with lots of peripheral support libraries)

ChibiOS from Giovanni de Sirio.

DuinOS

(I'll keep editing entries into this list as they are suggested below)

_________________


Last edited by clawson on Nov 30, 2013 - 11:40 AM; edited 14 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: Jul 12, 2008 - 10:27 PM
10k+ Postman


Joined: Mar 27, 2002
Posts: 22314
Location: Lund, Sweden

Somewhat related are Adam Dunkels ProtoThreads at http://www.sics.se/~adam/pt/ . From the website:
Quote:
Protothreads are extremely lightweight stackless threads designed for severely memory constrained systems, such as small embedded systems or wireless sensor network nodes. Protothreads provide linear code execution for event-driven systems implemented in C.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Thijs
PostPosted: Jul 14, 2008 - 10:20 AM
Rookie


Joined: Sep 29, 2004
Posts: 36
Location: Netherlands

Femto OS is another RTOS for AVR architecture.
 
 View user's profile Send private message  
Reply with quote Back to top
Ed II
PostPosted: Nov 08, 2008 - 11:20 PM
Rookie


Joined: Jun 27, 2002
Posts: 31


Not sure if I can post a question here, but why would someone want an operating system for an AVR, a microcontroller? Could someone here who uses such please explain, as I'd never considered such a thing but would like to understand the motivation.
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: Nov 08, 2008 - 11:34 PM
10k+ Postman


Joined: Mar 27, 2002
Posts: 22314
Location: Lund, Sweden

Quote:

why would someone want an operating system for an AVR, a microcontroller?

Here we go again.. Just do a search here at AVRfreaks on RTOS and similar and you will find more pro's and con's than you actually care about.

Oh, well... I am not necessarily ruling in OSes in all cases for AVRs (I'm not that stupid). But I can easily think of situations where it would help.

What if you want to run several parallell processes where some need to be higher prioritized than others? What if you want to want TCP/IP connectivity? What if you want to access an IDE hard disk with a FAT file-system? Sure you can say that you can write code for those without having an operating system, but then we'd just be playing with words.

Once upon a time I used machines with 64KB of RAM (for both program and data, Von Neumann architechture) that ran operating systems that where more complicated than several of the "small footprint" RTOSes for AVRs that are out there. The biggest AVR has 256 KB of (program) FLASH and 8KB of (data) RAM...
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Nov 08, 2008 - 11:58 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

I often think there's a limit (somewhere between 32K and 64K but not exactly sure where) at which program complexity probably becomes so great that there's a call for multi-tasking but it could be as simple as non-premeptive, perhaps even just protothreads.

Cliff

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
cherepanov
PostPosted: Feb 15, 2009 - 07:30 PM
Newbie


Joined: Aug 30, 2006
Posts: 3


That is the conditions to the OS be inclided to this list?

I know about two another free OSes
scmRTOS (is a C++ cooperative OS with Mit license) http://scmrtos.sourceforge.net/
and iRTOS (is a C preemptive OS with LGPL license ) http://irtos.sourceforge.net/

_________________
I am writing RTOS may be someone will look at it Wink
http://sourceforge.net/projects/irtos/
http://irtos.sourceforge.net/
 
 View user's profile Send private message  
Reply with quote Back to top
alcosar
PostPosted: Apr 24, 2009 - 10:16 AM
Newbie


Joined: Jun 19, 2007
Posts: 3


No, it's not correct. scmRTOS is preempteve OS.
 
 View user's profile Send private message  
Reply with quote Back to top
Paulvdh
PostPosted: May 06, 2009 - 04:25 PM
Hangaround


Joined: Aug 03, 2001
Posts: 335


I think I've found another one.
http://www.embedded.com/shared/-printableArticle.jhtml?articleID=190302110

They call it SST (Super Simple Tasker) and it's about as simple as protothreads. They also call it preemptive but I think it's "only" cooperative. It's about 500 bytes in size (on a x86) and completely written in C.
It is not specifically written for AVR, but I believe it's easy to port.

Have Fun, Paul.

_________________
Paul van der Hoeven.
Bunch of old projects with AVR's:
http://www.hoevendesign.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
davef
PostPosted: May 06, 2009 - 08:32 PM
Resident


Joined: Sep 03, 2005
Posts: 838
Location: Christchurch, NZ

There is actually a port for that in the projects section! But you are correct it is not on the list.
 
 View user's profile Send private message  
Reply with quote Back to top
skyrulz
PostPosted: May 08, 2009 - 07:40 AM
Newbie


Joined: May 08, 2009
Posts: 2


uCOS-II is another for AVR Architecture
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: May 08, 2009 - 10:32 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Folks, can you give URLs when you mention a missing OS that isn't in the list above then I'll edit the link into the first post. Ta.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
davef
PostPosted: May 08, 2009 - 09:00 PM
Resident


Joined: Sep 03, 2005
Posts: 838
Location: Christchurch, NZ

SST

http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_id=725&item_type=project
 
 View user's profile Send private message  
Reply with quote Back to top
alcosar
PostPosted: May 09, 2009 - 02:46 PM
Newbie


Joined: Jun 19, 2007
Posts: 3


Please correct the definition of the scmRTOS. It is preemptive, not cooperative.
 
 View user's profile Send private message  
Reply with quote Back to top
damien_d
PostPosted: Oct 25, 2009 - 02:20 AM
Resident


Joined: Dec 15, 2008
Posts: 923
Location: Brisbane, Australia

Thank you for the list - are you able to put the licence after each one - the last two are ideal:

Quote:

scmRTOS: a C++ cooperative OS with Mit license

iRTOS: a C preemptive OS with LGPL license
 
 View user's profile Send private message  
Reply with quote Back to top
chinde
PostPosted: Nov 09, 2009 - 06:18 AM
Newbie


Joined: Dec 22, 2007
Posts: 2


thanks for that list. But can anyone tell me, which one RTOS for AVR that use BASIC programing language? please help me
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Nov 09, 2009 - 08:36 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Try this:

RTOS for Bascom

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
chinde
PostPosted: Nov 10, 2009 - 07:46 PM
Newbie


Joined: Dec 22, 2007
Posts: 2


clawson wrote:
Try this:

RTOS for Bascom
Thanks for your reply Clawson but i already know that script, its not a real RTOS, its just split the procedure into stacks and make priority for task in order every millisecond.
That i want to know is how to make more than one procedures to work simultaneously.
But really i appreciated for your help, thanks,
Do you have any ideas,links,etc?
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Nov 11, 2009 - 09:43 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

Do you have any ideas,links,etc?

Yes switch to C then pick one of the 20+ listed above Wink

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
ondrejandrej
PostPosted: Nov 26, 2009 - 07:52 AM
Newbie


Joined: Sep 24, 2009
Posts: 13
Location: Brno, Czech Republic

This is supposed to be tutorial, but all I can see is a list of links. There should be some tutorial in this forum, which explains what RTOS is, what is thread, preempting, etc.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Nov 26, 2009 - 09:21 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

To my mind there's no better tutorial about a specific RTOS than the explanation of how the AVR implementation of FreeRTOS works:

http://www.freertos.org/implementation/index.html

The concepts explained there apply pretty much the same whatever RTOS you actually chose to use though there specific implementation may differ slightly.

_________________


Last edited by clawson on Nov 26, 2009 - 09:48 AM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
ondrejandrej
PostPosted: Nov 26, 2009 - 09:46 AM
Newbie


Joined: Sep 24, 2009
Posts: 13
Location: Brno, Czech Republic

Thank you. Looks good.
 
 View user's profile Send private message  
Reply with quote Back to top
juliandasilva
PostPosted: Dec 03, 2009 - 02:02 PM
Rookie


Joined: Nov 20, 2002
Posts: 29
Location: Argentina

This is our port for FreeRTOS to the ATMega168, 328, 644, 1280 and 1284:

http://robotgroup.com.ar/noticias/20091102/duinos-sistema-operativo-multitarea-para-arduino

It was made to be integrated with the Arduino IDE, but could be used alone or with other IDEs (we often use Code::Blocks internally).

Regards,
Julián
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
daveped
PostPosted: Dec 11, 2009 - 04:11 PM
Newbie


Joined: Sep 28, 2006
Posts: 3


Paulvdh wrote:

http://www.embedded.com/shared/-printableArticle.jhtml?articleID=190302110

They call it SST (Super Simple Tasker) and it's about as simple as protothreads. They also call it preemptive but I think it's "only" cooperative.


SST is a fully preemptive, prioritized RTOS. I have spent a good deal of time over the decades on embedded software and different RTOS's, both commercial and had-rolled. My current favorite is SST. Very light weight, easy to prove correct. Conceptually simple.

So many of the commercial products seem to have a less than required quality, with defects in systems due to the RTOS - why did I buy one if I have to troubleshoot it? I have grown to believe
smaller + simpler = better. SST fits the bill.

DavePed
 
 View user's profile Send private message  
Reply with quote Back to top
kscharf
PostPosted: Mar 17, 2010 - 05:29 PM
Posting Freak


Joined: Aug 04, 2004
Posts: 1830
Location: Davie, FL

I've very surprised that no one mentioned NUTOS
http://www.ethernut.de/en/firmware/index.html
 
 View user's profile Send private message  
Reply with quote Back to top
roomer
PostPosted: Aug 29, 2010 - 06:36 AM
Newbie


Joined: Feb 24, 2010
Posts: 6


ChibiOS from Giovanni de Sirio.

http://chibios.sourceforge.net
 
 View user's profile Send private message  
Reply with quote Back to top
juliandasilva
PostPosted: Aug 29, 2010 - 04:28 PM
Rookie


Joined: Nov 20, 2002
Posts: 29
Location: Argentina

Hi, the link to download DuinOS (the port of FreeRTOS to Arduino) had changed to this:

http://robotgroup.com.ar/duinos/wiki

There you will find (in the downloads section) the v0.1 and the v0.2 versions.

Regards,
Julián
http://robotgroup.com.ar
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
tonyp27
PostPosted: Jan 23, 2012 - 08:56 PM
Newbie


Joined: Jan 23, 2012
Posts: 1


There is Abassi also. It's preemptive and super small (like <800 bytes small)...

http://www.code-time.com/avr.html
http://www.code-time.com/portdocs.html
 
 View user's profile Send private message  
Reply with quote Back to top
alexan_e
PostPosted: Nov 15, 2012 - 10:18 AM
Posting Freak


Joined: Jul 05, 2007
Posts: 1008
Location: Greece

Quote:
iRTOS: a C preemptive OS with LGPL license


This is not related to AVR

Quote:
This project is supporting LPC2000, LPC17xx series MCU made by NXP.


Alex
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Nov 15, 2012 - 10:33 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

This is not related to AVR

Thanks - removed from list now.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
jccordill
PostPosted: Feb 19, 2013 - 06:58 PM
Hangaround


Joined: Feb 19, 2010
Posts: 404
Location: Olathe, KS

Add Pumpkin's Salvo to the list, it's a cooperative RTOS, both the Tiny version and Lite versions are free and fairly easy to use, a good manual can be downloaded as well. I added a project to show how to set up the tiny version on a Mega16 with lots of flash available.
-jim
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
einar
PostPosted: Mar 05, 2013 - 09:55 AM
Hangaround


Joined: May 01, 2002
Posts: 107
Location: Follo, Norway

Does anyone know the status of AvrX?
This link is not helpful anymore:
AvrX: Real-Time Kernel for AVR processors

Not surprisingly Google will also send you into 404 pages, sometimes via another page.
 
 View user's profile Send private message  
Reply with quote Back to top
dxr
PostPosted: Jun 02, 2013 - 08:07 AM
Hangaround


Joined: Jun 17, 2006
Posts: 190


duinoOS link in first post is also death
its better link on GIT or WIKIpedia (there is also death link but on Wikipedia is also link on 0.2 which is maintaned with other person)
 
 View user's profile Send private message  
Reply with quote Back to top
alexan_e
PostPosted: Nov 30, 2013 - 11:32 AM
Posting Freak


Joined: Jul 05, 2007
Posts: 1008
Location: Greece

The duinOS link doesn't work, it seems it has been relocate to http://code.google.com/p/duinos/

Alex

[first post edited]

_________________
"For every effect there is a root cause. Find and address the root cause rather than try to fix the effect, as there is no end to the latter."
Author Unknown
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
alexan_e
PostPosted: Nov 30, 2013 - 12:15 PM
Posting Freak


Joined: Jul 05, 2007
Posts: 1008
Location: Greece

I just checked the complete list, there are three more that need to change:

AVRx site is also down (there is only info that it is not maintained any longer, no OS there) so the best alternative seems to be sourceforge http://avrx.sourceforge.net/

Adam Dunkel's Protothreads site exists but the link has changed to http://dunkels.com/adam/pt/

Contiki link seems to not work any longer but a search lead to http://www.contiki-os.org/

Alex

_________________
"For every effect there is a root cause. Find and address the root cause rather than try to fix the effect, as there is no end to the latter."
Author Unknown
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
gchapman
PostPosted: Nov 30, 2013 - 04:30 PM
Raving lunatic


Joined: Jan 09, 2007
Posts: 2853
Location: Arlington, Texas, u.S.A.

TinyRealTime by Dan Henriksson and Anton Cervin (Lund University)
Characteristics:
1. Originally created for mega8.
2. Preemptive kernel.
3. Earliest Deadline First (EDF) scheduler.
4. Each task has a stack.
5. About 1200 bytes of flash.

It was extended by Dr. Bruce Land to mega644 and mega1284; cross-links between the 2 URLs.
A preemptive kernel for Atmel Mega1284 microcontrollers by Bruce Land (Cornell University, ECE4760; October 18, 2013)
A video of a presentation of it in ECE4760:
#19 -- Premptive Kernel and Lab 4 (Bruce Land, YouTube)
 
 View user's profile Send private message  
Reply with quote Back to top
enggricha
PostPosted: May 28, 2014 - 11:54 AM
Newbie


Joined: May 28, 2014
Posts: 18


This is a very useful list for some one like me looking to get started with AVRs however looks like some these are not existing any more. Guess this need a clean up?
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: May 28, 2014 - 11:55 AM
10k+ Postman


Joined: Mar 27, 2002
Posts: 22314
Location: Lund, Sweden

Quote:

This is a very useful list for some one like me looking to get started with AVRs

Perhaps. Most beginners don't need, or will not be helped, by an RTOS. Same for many AVR apps.

_________________
"Some questions have no answers."[C Baird]
"There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson]
"There are always ways to disagree, without being disagreeable."[E Weddington]
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: May 28, 2014 - 12:24 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71947
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

Guess this need a clean up?

You tell me which links are dead and I'll edit my post.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
enggricha
PostPosted: May 28, 2014 - 02:41 PM
Newbie


Joined: May 28, 2014
Posts: 18


i just looked at the first few links...out of which the 2,3 arent related anymore.

_________________
Richa Sharma, Embedded Engineer at Ingens Tech handling InPlant Training in Chennai
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits