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.

help in rtos coding using ARM7TDMI processor

Status
Not open for further replies.

dhivyadurga

Newbie level 6
Newbie level 6
Joined
Jul 28, 2011
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,395
hi everybody,,
we are doing our final year projects using rtos.Now we started our project by writing a coding for simple application like blinking an led with different time delay.we are using ARM7TDMI processor (lpc2148) .And we have an IAR Compile,,the version we used is v4.41a.
Now we don't have such idea how to make further move in our project.actually we need to monitor 3 task simultaneously.the semaphore concept is suitable for our project.but we dont have idea how to write code for that.Please anybody help me for our project..
Please send a details about this if u know...:|
 

Are you using a RTOS or are you trying to write one from scratch? If you are trying to write one from scratch then you have a long road ahead of you and I would recommend a book such as "Fundamentals of operating systems" which is a very old book but it does a great job explaining the concepts behind operating systems such as semaphores, memory management and the likes. As for semaphores, they are a simple concept that you will be able to find a lot of information about by doing a simple google search for semaphore or mutex.
 

Can you specify which RTOS you are using ?? and also more details about what are you trying to do (project details)
 

hi,..
thanks for your reply.. vishnu
We decide to use uCOS-II rtos for our project.
Actually our project is monitoring 3 tasks based on their priority.the priority of the task is scheduled based on ,such input from our sensor.so we need scheduling the task using semaphores.because at the time of interrupt (signal from sensor taken as interrupt) the monitoring of task is switch over to another task based on the priority of the task(where the interrupt comes from).
if u have any example for semaphore and priority scheduling please send to us...
once again thanks for your kind reply...

---------- Post added at 07:05 ---------- Previous post was at 06:59 ----------

hi,
we are using RTOS only for our project,and we decide to use uCOS-II rtos..
Do u have any example for running a semaphore and priority scheduler using this RTOS?
 

hi,
we are running a rtos program for led blinking.We define a three task having different timing..
In our code the OSTimeDly() does not executed while debugging the code.The next function to this delay is not considered while debugging:roll:
Anybody know whats the reason????????????
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top