| Author |
Message |
|
|
Posted: Jul 12, 2008 - 09:50 PM |
|


Joined: Jul 18, 2005
Posts: 62345
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
|
|
|
|
Posted: Jul 12, 2008 - 10:27 PM |
|


Joined: Mar 27, 2002
Posts: 18577
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.
|
|
|
| |
|
|
|
|
|
Posted: Jul 14, 2008 - 10:20 AM |
|

Joined: Sep 29, 2004
Posts: 36
Location: Netherlands
|
|
| Femto OS is another RTOS for AVR architecture. |
|
|
| |
|
|
|
|
|
Posted: Nov 08, 2008 - 11:20 PM |
|

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. |
|
|
| |
|
|
|
|
|
Posted: Nov 08, 2008 - 11:34 PM |
|


Joined: Mar 27, 2002
Posts: 18577
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... |
|
|
| |
|
|
|
|
|
Posted: Nov 08, 2008 - 11:58 PM |
|


Joined: Jul 18, 2005
Posts: 62345
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 |
_________________
|
| |
|
|
|
|
|
Posted: Feb 15, 2009 - 07:30 PM |
|

Joined: Aug 30, 2006
Posts: 3
|
|
|
|
|
|
|
Posted: Apr 24, 2009 - 10:16 AM |
|

Joined: Jun 19, 2007
Posts: 3
|
|
| No, it's not correct. scmRTOS is preempteve OS. |
|
|
| |
|
|
|
|
|
Posted: May 06, 2009 - 04:25 PM |
|

Joined: Aug 03, 2001
Posts: 326
|
|
|
|
|
|
|
Posted: May 06, 2009 - 08:32 PM |
|

Joined: Sep 03, 2005
Posts: 795
Location: Christchurch, NZ
|
|
| There is actually a port for that in the projects section! But you are correct it is not on the list. |
|
|
| |
|
|
|
|
|
Posted: May 08, 2009 - 07:40 AM |
|

Joined: May 08, 2009
Posts: 2
|
|
| uCOS-II is another for AVR Architecture |
|
|
| |
|
|
|
|
|
Posted: May 08, 2009 - 10:32 AM |
|


Joined: Jul 18, 2005
Posts: 62345
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. |
_________________
|
| |
|
|
|
|
|
Posted: May 08, 2009 - 09:00 PM |
|

Joined: Sep 03, 2005
Posts: 795
Location: Christchurch, NZ
|
|
|
|
|
|
|
Posted: May 09, 2009 - 02:46 PM |
|

Joined: Jun 19, 2007
Posts: 3
|
|
| Please correct the definition of the scmRTOS. It is preemptive, not cooperative. |
|
|
| |
|
|
|
|
|
Posted: Oct 25, 2009 - 02:20 AM |
|

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
|
|
|
| |
|
|
|
|
|
Posted: Nov 09, 2009 - 06:18 AM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Nov 09, 2009 - 08:36 AM |
|


Joined: Jul 18, 2005
Posts: 62345
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
|
|
|
|
Posted: Nov 10, 2009 - 07:46 PM |
|

Joined: Dec 22, 2007
Posts: 2
|
|
|
clawson wrote:
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? |
|
|
| |
|
|
|
|
|
Posted: Nov 11, 2009 - 09:43 AM |
|


Joined: Jul 18, 2005
Posts: 62345
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  |
_________________
|
| |
|
|
|
|
|
Posted: Nov 26, 2009 - 07:52 AM |
|

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. |
|
|
| |
|
|
|
|
|
Posted: Nov 26, 2009 - 09:21 AM |
|


Joined: Jul 18, 2005
Posts: 62345
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
|
| |
|
|
|
|
|
Posted: Nov 26, 2009 - 09:46 AM |
|

Joined: Sep 24, 2009
Posts: 13
Location: Brno, Czech Republic
|
|
|
|
|
|
|
Posted: Dec 03, 2009 - 02:02 PM |
|


Joined: Nov 20, 2002
Posts: 29
Location: Argentina
|
|
|
|
|
|
|
Posted: Dec 11, 2009 - 04:11 PM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Mar 17, 2010 - 05:29 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
|
|
|
|
|
Posted: Aug 29, 2010 - 06:36 AM |
|

Joined: Feb 24, 2010
Posts: 6
|
|
|
|
|
|
|
Posted: Aug 29, 2010 - 04:28 PM |
|


Joined: Nov 20, 2002
Posts: 29
Location: Argentina
|
|
|
|
|
|
|
Posted: Jan 23, 2012 - 08:56 PM |
|

Joined: Jan 23, 2012
Posts: 1
|
|
|
|
|
|
|
Posted: Nov 15, 2012 - 10:18 AM |
|


Joined: Jul 05, 2007
Posts: 962
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 |
|
|
| |
|
|
|
|
|
Posted: Nov 15, 2012 - 10:33 AM |
|


Joined: Jul 18, 2005
Posts: 62345
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
This is not related to AVR
Thanks - removed from list now. |
_________________
|
| |
|
|
|
|
|
Posted: Feb 19, 2013 - 06:58 PM |
|

Joined: Feb 19, 2010
Posts: 35
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 |
|
|
| |
|
|
|
|
|
Posted: Mar 05, 2013 - 09:55 AM |
|

Joined: May 01, 2002
Posts: 89
Location: Follo, Norway
|
|
|
|
|
|
|