??? 12/08/05 11:58 Read: times |
#104875 - It is really about Engineering Responding to: ???'s previous message |
Russell Bull said:
I think Erik's concept of 'real-time' is flawed. There's no doubt that using a pre-emptive RTOS may affect interrupt response time, but by the same token, using a co-operative system (or no 'system' at all) there are times where interrupts are disabled so that certain operations can be atomic. To do anything useful, interrupt code must share variables with non-interrupt code so therefore we need atomic operations which imply we need to disable interrupts (especially on a '51). Very well put. However you feel about whether an RTOS is appropriate or not, you still have to solve the same problems. Ultimately, what cpu you use, at what clock rate, whether you use C or assembler and whether you use spaghetti code, a RTOS or some form of co-operative tasking all depends on the person that has to make it all work. If that person understands the strengths/weeknesses of the various options, he/she should be able to make a good judgement and have a successful project. This is engineering. And that is the bottom line. It is about the people doing the job and how well they understand the issues and techniques of real time. Ian |