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.

Recent content by opentdoors

  1. opentdoors

    scheduler for Atmel 89c52

    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...
  2. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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...
  3. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    writing a rtos May be difficult, and size of code getting large for 8051.
  4. opentdoors

    Which RTOS is best for Set top box?VxWorks/rt-linux/qnx/ce?

    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...
  5. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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.
  6. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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.
  7. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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...
  8. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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...
  9. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    c code rtos 8051 xTimeDelay equ 0FBH _timeDelay: /*a=counter high byte, R1=counter low byte*/ clr EA; disable interrupts push DPH push DPL push 0 push b mov b,a mov a,running_id;running_id is a global variable in internal RAM mov DPH,a anl a,#0FH add a,#taskcounters; taskcounters is...
  10. opentdoors

    Recommend a RTOS for commercial project

    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.
  11. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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...
  12. opentdoors

    Trying to design a RTOS kernel on 8051 µC

    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...

Part and Inventory Search

Back
Top