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 check flow of RTOS Tiny execution.

Hi All

On test board:Leds(2 nos) --> P1.1,P1.2
Buzzer --> P1.3

In Task0:Task1 and Task2 are created.
In Task1:
led1 = On,led2 = off --> delay() --> led1 = Off,led2=On.
In Task2:
buzzer = On --> delay() --> buzzer = off.

Serial port,Timers,Interrupts not initialised.
No external RAM connected(only one int var used in code).

After running this program on 89C51RD2 nothing was working.
what might be the problem ?
Do i have to initialise Timer,interrupts ?
is this problem related to delay routines ?
can any body suggest how can i check flow of RTOS program execution
by using above on board resources ?

Thanks
regards
Naresh

Parents
  • Hi Naresh ,

    sorry I have forgotten some points.
    An eval-version of C166, if no examples available you can download ( as known ) at KEIL for free of charge.

    The Timerinterrupt depends from what timer interrupt you want to use.
    In common the OS will enable the global interrupt flag as I know, but may be differences between RTX Tiny and RTX full.
    So the full version works with preemptive multi tasking , the Tiny with Round-Robin, limited to 32 tasks and so on.

Reply
  • Hi Naresh ,

    sorry I have forgotten some points.
    An eval-version of C166, if no examples available you can download ( as known ) at KEIL for free of charge.

    The Timerinterrupt depends from what timer interrupt you want to use.
    In common the OS will enable the global interrupt flag as I know, but may be differences between RTX Tiny and RTX full.
    So the full version works with preemptive multi tasking , the Tiny with Round-Robin, limited to 32 tasks and so on.

Children
No data