??? 04/28/05 19:08 Read: times |
#92547 - RTOS when? Responding to: ???'s previous message |
Many 8051 applications can be built and will work fine without using an RTOS. In many cases a simple 'work loop' (Copyright Erik) for the non critical tasks and interrupts for the critical ones is all that is required.
What this approach does not do is provide priorities for tasks (except interrupts) or allow pre-emption (except for interrupts). So provided all your task priority and pre-emption requirements can be met using interrupts then there is no need for an RTOS. The other problem with this approach is that it is essential that workloop tasks exit quickly when there is nothing for them to do i.e you must make sure they do not sit waiting for RI to change state for example. When they do have something to do they must also finish it as fast as possible to make sure the other tasks in the loop get polled frequently enough. As applications become larger and more complex this method becomes difficult to design, modify and maintain. At this point you should consider using an RTOS. With 8051 variants commonly having 64K of code space and many integrated peripherals there are certainly cases where using an RTOS on an 8051 project is justified. Ian |
Topic | Author | Date |
RTOS | 01/01/70 00:00 | |
The typical tradeoffs.... | 01/01/70 00:00 | |
OS vs. language | 01/01/70 00:00 | |
os vs language | 01/01/70 00:00 | |
OS are used at same place where you use | 01/01/70 00:00 | |
OS and the '51 | 01/01/70 00:00 | |
OS and the '51 | 01/01/70 00:00 | |
511 pages | 01/01/70 00:00 | |
URL please | 01/01/70 00:00 | |
web link | 01/01/70 00:00 | |
web links | 01/01/70 00:00 | |
NicheTask != Nucleus | 01/01/70 00:00 | |
Ok why RTOS? | 01/01/70 00:00 | |
one strange company | 01/01/70 00:00 | |
No big kernels for little MCUs | 01/01/70 00:00 | |
thats nice | 01/01/70 00:00 | |
OS irrelevant | 01/01/70 00:00 | |
pllease Explain | 01/01/70 00:00 | |
re pllease Explain | 01/01/70 00:00 | |
RTOS when? | 01/01/70 00:00 | |
not when, but how | 01/01/70 00:00 | |
Job and Tasks | 01/01/70 00:00 | |
name one | 01/01/70 00:00 | |
Example | 01/01/70 00:00 | |
if you need it | 01/01/70 00:00 | |
Another Example | 01/01/70 00:00 | |
an example | 01/01/70 00:00 | |
Problem with Interrupt priorities | 01/01/70 00:00 | |
Same priority ? | 01/01/70 00:00 | |
LOOKS LIKE HOMEWORK!!!!!! | 01/01/70 00:00 | |
RE LOOKS LIKE HOMEWORK!!!!!! | 01/01/70 00:00 | |
Dont get angry. | 01/01/70 00:00 | |
On an 8051 | 01/01/70 00:00 | |
multicoder | 01/01/70 00:00 | |
quite likely | 01/01/70 00:00 | |
Pre-emptive multitasking | 01/01/70 00:00 | |
RTOS-VxWorks | 01/01/70 00:00 | |
some posts are off-topic | 01/01/70 00:00 | |
Not very useful | 01/01/70 00:00 | |
'C' is not the only language | 01/01/70 00:00 | |
U cn us RTlinux and VxWorks | 01/01/70 00:00 | |
RTOS | 01/01/70 00:00 | |
honesty | 01/01/70 00:00 | |
8 bit RToS | 01/01/70 00:00 | |
How could I have been so wrong! | 01/01/70 00:00 | |
Perhaps you practice :)) | 01/01/70 00:00 | |
Well practiced! | 01/01/70 00:00 | |
Task Switching Overhead | 01/01/70 00:00 | |
Has the valve been invented yet? | 01/01/70 00:00 | |
Tunnel vision | 01/01/70 00:00 | |
because of tunnel vision | 01/01/70 00:00 | |
Before PCs | 01/01/70 00:00 | |
fair? | 01/01/70 00:00 | |
Sure its fair | 01/01/70 00:00 | |
Show me the apps | 01/01/70 00:00 | |
Save your appetite | 01/01/70 00:00 | |
8051 task switch | 01/01/70 00:00 | |
Modern derivatives have 4 priority level | 01/01/70 00:00 | |
Four banks and context switch | 01/01/70 00:00 | |
anyway | 01/01/70 00:00 | |
Lemme see..... | 01/01/70 00:00 | |
So in fact | 01/01/70 00:00 | |
What is Real Time | 01/01/70 00:00 | |
real time | 01/01/70 00:00 | |
Confused | 01/01/70 00:00 | |
answers | 01/01/70 00:00 | |
RE: Answers | 01/01/70 00:00 | |
extern - intern | 01/01/70 00:00 | |
Agreed | 01/01/70 00:00 | |
Why not | 01/01/70 00:00 | |
Give up | 01/01/70 00:00 | |
Deifinition of a Poor Engineer | 01/01/70 00:00 | |
so do I | 01/01/70 00:00 | |
8051 RTOS Contract | 01/01/70 00:00 | |
a real speed demon | 01/01/70 00:00 | |
RTOS/Multitasking discussed so many time | 01/01/70 00:00 | |
Yes![]() | 01/01/70 00:00 |