??? 02/22/05 16:18 Read: times |
#88160 - RTOS on a 51?? Responding to: ???'s previous message |
I agree with most of what Eric says. Right now there is not a single RTOS that is really worth using a typical 8051 microcontroller application. On the other hand, there is a lot we can learn from the techniques used by the boys with bigger toys to make our own designs more reliable, robust and re-usable. After all, that's what engineering is all about; picking the best ideas and building them into your own designs.
The one thing I disagree with Eric about is multi-tasking. Many microcontroller applications do involve doing several tasks at once. I have been involved in the development of many label printers. When printing these have to: 1. Read the spead of a dc motor and set a PWM output to keep its speed constant. 2. Read data, convert it to bit map data and send it to the print head. 3. Synchronise the firing of the print head to an opto interrupter and set the pulse width depending on the number of dots to be printed. The thing is, many of these simple applications are built using a simple forground/background technique where interrupts switch tasks (that's how we did the label printers). It is OK for simple designs but as soon as things become a bit more complex and there is a need to pass information between tasks for example, people get into all sorts of trouble. My view is there is a need to poach some of the techniques used in RTOSs and build them into a design framework for microcontroller applications. At present I am attempting to do just that and when it is ready it will appear as additions to my current 8052.com page. Ian |
Topic | Author | Date |
please expalin RTOS, UnRTOS, MTOS... | 01/01/70 00:00 | |
Os's | 01/01/70 00:00 | |
thanks ...and now for Erik... | 01/01/70 00:00 | |
MicroC O/S II works fine | 01/01/70 00:00 | |
Threads? | 01/01/70 00:00 | |
Threads, Real Time and Multitasking | 01/01/70 00:00 | |
Just for clarification | 01/01/70 00:00 | |
Multiprocessing | 01/01/70 00:00 | |
Multiprocessing | 01/01/70 00:00 | |
Further clarification | 01/01/70 00:00 | |
Threads | 01/01/70 00:00 | |
Windoze | 01/01/70 00:00 | |
More Windoze | 01/01/70 00:00 | |
Ah... | 01/01/70 00:00 | |
Basic Info | 01/01/70 00:00 | |
extract from the above with translation | 01/01/70 00:00 | |
Completed | 01/01/70 00:00 | |
who are we | 01/01/70 00:00 | |
Tics![]() | 01/01/70 00:00 | |
the rest | 01/01/70 00:00 | |
But wait..there's more! | 01/01/70 00:00 | |
Real Time Info | 01/01/70 00:00 | |
hard/soft | 01/01/70 00:00 | |
Real Time Info | 01/01/70 00:00 | |
m,y opinion | 01/01/70 00:00 | |
why so late | 01/01/70 00:00 | |
one more thing | 01/01/70 00:00 | |
Architecture Independent | 01/01/70 00:00 | |
just to clarify | 01/01/70 00:00 | |
No. | 01/01/70 00:00 | |
RTOS on a 51?? | 01/01/70 00:00 | |
not the thing but the word | 01/01/70 00:00 | |
A Distinction (with a difference) | 01/01/70 00:00 | |
Tasks or Applications? | 01/01/70 00:00 | |
Multi Tasking | 01/01/70 00:00 | |
a dot matrix printer must be one task | 01/01/70 00:00 | |
One task or three | 01/01/70 00:00 | |
pray explain | 01/01/70 00:00 | |
Tasks and Functions | 01/01/70 00:00 | |
we are getting closer | 01/01/70 00:00 | |
Not that far apart | 01/01/70 00:00 | |
I doubt we are | 01/01/70 00:00 | |
discussed | 01/01/70 00:00 | |
TTCS | 01/01/70 00:00 |