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.
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...
rtos kernel calls
Why I used assembler, because 8051 is difference from PIC, AVR... When a task using a system call in C like: createTask ( (void*)*func(void*),priority,*mem...), then memory space for each task in 8051 not same as in AVR/PIC. Thus, writting createTask in 8051-assembler is for...
Re: Which RTOS is best for Set top box?VxWorks/rt-linux/qnx/
I think RTlinux is the best choice, 'cause it's free, easy to learn and programming using system call from linux native. For STB, may be using MiniRTlinux, but I don't know more.
Neutrino QNX, Win CE may be just embedded OS, not...
interrupt rtos flow chart
May be asm code difficult to understand than C code. But by writting a kernel by asm code, kernel could trace the value of program counter to control the tasks.
Writting a application in C, using the system call from kernel depend on compiler.
context switching 8051
Oh, I'm sorry. I'd not enough time to explain by flowchat. I'm quite lazy.
Which part in my code you want me to explain? May be scheduler?
In my system, each task has 2 priority, one of them is the counter of task, play as dynamic priority.
how create a rtos
I'm sorry. In previous time, I said that sheduler called when a task in waiting a event state.
But algorithm of my RTOS is round-robin. So that CPU come to idle state when a task waiting a event untill timer interrupt occurred.
Event flag is a byte which its value present...
8051 task
Is there anyone can give me some advise about my design?
I think,that's better development a RTOS on RICS-like µC as AVR or PIC. I'd seen some RTOS for µC 8 bits like Salvo, uCOS-ii, TinyRTX Keil....
Added after 39 minutes:
Here is semaphore processing routines. I create a...
Re: Recommend of RTOS
I think, RTOS has been applying in industrial equipmets to control or supervise circle lines. I also know RTOS had been a components in military devices.
8051 copy stack
All tasks was defined in program memory like this:
tasktable:
dw task0
dw task1
...
dw task15
With 256 bytes external RAM for each task, I used address from 0x00 for save context.
stack equ 5FH
page equ 80H
xsp equ 0FDH
_createTask: /* acc=task id; R0=task priority...
8051 kernel
Hello everyones !
I'm a new member on this forum. I come from Vietnam as a electronics engineer.
I've tried to design a RTOS kernels on 89c52 with 8KB ext RAM. It just the way to learn Real-time Linux.
My evalution board consist a 89c52 with 8K RAM (6264) at 0x8000. There are 16...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.