This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

To begin Rtos with keil

Hi all,
Happy new yr.
I want to go for Real time coding for my applications.
Can anybody guide me to begin with RTOS,so that i can develop applications using Keil RTOS for Microcontrollers,Keil provide help documents but they are too early to begin without basic concept in RTOS.
Thanks in advance.
Regards
Naresh

Parents
  • I'm using RTX tiny for C166. For C166 information about RTX/RTX tiny are in the the Assembler Manual. See the simple rtx examples, then the "traffic"-example and make some experiments. For RTX tiny 166 the answers are:
    1)
    The first task (task 0) should initialise the system. Create the other tasks. Then terminate task 0 with the os_delete_task(0) command.
    2)
    The task switch interrupt has the lowest priority, so the other interrupts will stop task switching.
    3)
    You will find this in the asm-manual. It is possible to change the rtx-timer if need to do.
    4)
    I don't think that this is possible. What settigs do you want to change?
    In RTX tiny (round robin!) task switches occur after a predefined time. After a short time the program execution continues at this point.

    Ulf

Reply
  • I'm using RTX tiny for C166. For C166 information about RTX/RTX tiny are in the the Assembler Manual. See the simple rtx examples, then the "traffic"-example and make some experiments. For RTX tiny 166 the answers are:
    1)
    The first task (task 0) should initialise the system. Create the other tasks. Then terminate task 0 with the os_delete_task(0) command.
    2)
    The task switch interrupt has the lowest priority, so the other interrupts will stop task switching.
    3)
    You will find this in the asm-manual. It is possible to change the rtx-timer if need to do.
    4)
    I don't think that this is possible. What settigs do you want to change?
    In RTX tiny (round robin!) task switches occur after a predefined time. After a short time the program execution continues at this point.

    Ulf

Children