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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/29/05 08:06
Read: times


 
#92597 - Well practiced!
Responding to: ???'s previous message

"Slow and Clunky" - that's a nebulous term at best! Slow is relative to what we want to achieve - if a floating point operation takes 1ms and that is acceptable for the application then it is not 'slow' and as for 'clunky' is software floating point any less clunky on a 32 bit cpu? Algorithmically it is identical. Now if our 32 bit has a FPU then that's another kettle of fish!

Back to the RTOS issue - any RTOS has an overhead for the task switch and the RTOS management itself. Again, in light of the application we have to weigh up whether to use a RTOS or not and if we use a RTOS, can we cope with the task switching overhead. I saw a commercial box of tricks actually do pre-emptive switching on a 12clock 8051 at 11.0592MHz that would move the block of registers to/from xram. I was stunned when I saw the code -but it did in fact work and the box did what it was designed to do. Personally I would've suggested the designer go to a more suitable cpu - but he liked his 8051s and that is what he used. The designer is an accomplished assembler programmer - the quality of his code was very good.

Again, I wouldn't recommend a RTOS on a 8051, but if the app had to have an 8051 and had to have a RTOS and the performance was adequate - then so be it. Does running a RTOS make any more sense on a Philips ARM micro simply because it is 32 bit? It does not have any memory managment or specific hardware to support a RTOS. It does however have more ram, a larger stack pointer and more performance than the average 8051 cpu that would make it more preferable for such a task. In days gone by, many people used RTOS's on z80,hc11,6809 etc and continue to do so on Z180S,HC12,H8. I wouldn't suggest that the people doing this are non-sensical.






List of 77 messages in thread
TopicAuthorDate
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      

Back to Subject List