Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/31/09 08:03
Read: times


 
#161857 - to get a taste of it...
Responding to: ???'s previous message
... read about TINI OS, which is one of the available multitasking environments on 51 derivatives.

Note that the Dallas derivatives where it is implemented are behemoths with lots of code in internal ROM and a relatively big external RAM attached. Don't expect anything near AT89S52.

While the idea - writing independent code running simultaneously - sounds fine, it in reality takes a lot of work and resources to accomplish it, and is not veri plausible for a microcontroller (you might be fooled by the modern 32-bit microcontrollers such as the ARMs, often running some multitasking of one form or other; but those are in fact not microCONTROLLERS but microPROCESSORS with lots of memories etc. integrated on one chip - the difference is subtle but substantial).

In the word of microcontrollers, multitasking-like ideas are often hidden behind the buzzword (buzz-expression) "Real Time Operating System", RTOS. Try to search on this topic, too.

Even when you have some multitasking OS up ad running, programs written for it tend to have various limitations and quirks, so it's not that simple than just taking 3 different standalone '51 programs, pour it together with an OS kernel, stir and enjoy.

You might also want to read about the alternative(s), presented on his 8052.com homepage by a seasoned '51 developer, Ian Bell.

And, of course, searching this site (or the whole net) with the related keywords will give you tons of material to study.

JW


List of 28 messages in thread
TopicAuthorDate
Multi Tasking in 8051            01/01/70 00:00      
   No need            01/01/70 00:00      
   to get a taste of it...            01/01/70 00:00      
      Or Not            01/01/70 00:00      
         I am thinking of implementing the superloop            01/01/70 00:00      
            It is one way            01/01/70 00:00      
      microcontroller vs microprocessor            01/01/70 00:00      
         Broad range of microcontrollers            01/01/70 00:00      
   I need help again!!!            01/01/70 00:00      
   Timer + conditional loop.            01/01/70 00:00      
      How do I implement the Interrupt Driven Serail Comm?            01/01/70 00:00      
         Samples            01/01/70 00:00      
         Own work            01/01/70 00:00      
            I am also looking            01/01/70 00:00      
               So where did you get stuck?            01/01/70 00:00      
               it will not            01/01/70 00:00      
               That *is* the trouble with sample code!            01/01/70 00:00      
               look at code library            01/01/70 00:00      
                  You have to read and understand            01/01/70 00:00      
   Some useful links here            01/01/70 00:00      
      Wha shuld the value of TMOD?            01/01/70 00:00      
         what is in TMOD now?            01/01/70 00:00      
            it does not work            01/01/70 00:00      
               what happens to T1 when            01/01/70 00:00      
                  I don't know what happens to TI            01/01/70 00:00      
                     time for some basic debugging            01/01/70 00:00      
                        tx and gnd shorted            01/01/70 00:00      
                           New question, new thread            01/01/70 00:00      

Back to Subject List