Hi everyone,
how will we control a hardware using an OS for example to blink an LED will we create a TASK with a new main function as an application or will we create a TASK which looks similar to a TASK,I never worked with any OS ported embedded board I am a embedded programmer,
any answer greatly appreciated,
Thanks in advance,
Prashanth. G
Basically most of the Embedded applications are time based...It has to complete the task with in deadline other wise results may be fatal...So to achieve this we use operating systems called Real time Operating Systems..It schedules the task and executes in a proper way and manages resources efficiently like Memory, I/O, File management, etc.....
---------- Post added at 16:45 ---------- Previous post was at 16:43 ----------
please check this link...it might be help to you..
**broken link removed**
Hi everyone,
how will we control a hardware using an OS for example to blink an LED will we create a TASK with a new main function as an application or will we create a TASK which looks similar to a TASK,I never worked with any OS ported embedded board I am a embedded programmer,
any answer greatly appreciated,
Thanks in advance,
Prashanth. G
Hi Prashanth,
your question is not complete , please give the details that you want exactly what - a real time system or a system which is not time critical.
First one tells that if you want this system then you have the constraint of time - so you can make a simple task and schedule it according to your need with giving highest priority so that it performs it's critical section in required schedule (some more constraints are there - but still for beginner's it is ok).
Second one will not give a very odd behaviour with compare to first one if you only have one task running in the application , else it can give some deviated result - if you create a function only.