scheduler for Atmel 89c52

Status
Not open for further replies.

kannan

Newbie level 6
Joined
Feb 21, 2005
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,377
rtos 89c52

Hi ,

If anyone developed scheduler for Atmel 89c52 microcontroller pls
provide me the source code in either C or Assembly.
my mymail id kannan_emb@yahoo.com

Thanks
G kannan
 

ucos-ii periodic sporadic

I think uCos-ii not really a rtos. Just a multitasking system.

A rtos is a round-robin/ preemptive task scheduler. Tasks has higher priority is scheduled to round-robin switching and next round-robin circle for lower priority tasks.

A simple rtos is a round-robin scheduler.

There are two type of tasks in rtos: periodic and sporadic. Periodic is switched every real-time clock, and sporadic is switched when a event (interrupt) occured.

In a rtos, there is a single-list called run queue, that is a single-list sorted follow task's priority. When a task come to suspend, it's drop from runqueue to wait queue....

In a true rtos, time-tisk controlled from a realtime clock (Freq=32,768KHz) for task.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…