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.

simple preemptive round robin scheduler for AVR?

Status
Not open for further replies.

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,183
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,636
round robin preemptive

Is there any code for simple preemptive round robin scheduler for AVR?

(not freertos or ucos-II)
 

sample program in round robin scheduling

Its easy to make using a timer and a small logic for swapping between the processes
you will be using different stacks for different processes
and a default for startup

i have made a roundrobin scheduling program for atmega128 which switches between the processes at the timer interrupt
 
avr round robin

i have made a roundrobin scheduling program for atmega128 which switches between the processes at the timer interrupt

Thanks for your help,Please send your code for Mega128 ,I want to look at it and get some idea.It may help me.
 

avr scheduler

Hello.

You can use Freertos. Its supports several micros.

you can see the examples of task scheduling

https://www.freertos.org/

I worked alot with Cortex M3 using raid Ide

Regards
 

avr+simple+scheduler

free RTOS is too heavy for AVR and my needs ,I need only a small part of it.

I work with IAR AVR C compiler,how to store task stack?IAR have 2 stack . How save them?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top