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: 69417
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: 21397
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: 21397
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: 69417
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: 329


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.
40+ 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: 815
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: 69417
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: 815
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: 69417
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: 69417
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
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