??? 09/12/07 14:21 Read: times |
#144467 - Multitasking Responding to: ???'s previous message |
Erik Malund said:
Thus, to implement a full fledged RTOS on a '51 you need to bastardize the architecture with an artificial stack in XDATA and, eventually you end up that the 'speed demon' you bought becomes a slowpoke. As I said, it comes down to speed and memory--and also how fast your application needs to run to start with. As you've said, if you need to do something in truly real-time, you don't use an OS, period. If you need things done measured in nanoseconds or even a small number of microseconds, probably still not a good idea. But there are a large number of applications that can easily run even on a 12-cycle 8051 implementing some nebulous multitasking OS. Does all this mean that a RTOS is "wrong" for the '51?, of course not BUT it means that choosing to use a RTOS should not be an out of the gate decision. I absolutely agree with that. Regards, Craig Steiner |