Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VxWorks or RTOS Question

Status
Not open for further replies.

prashanthknl

Junior Member level 2
Joined
Oct 8, 2007
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,380
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

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.

regards,
Saubhik
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top