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

Time Slicing with RxTiny

I am using RxTiny with the intention of running "parallel" multiple tasks. The problem is the next task does not run unless the current task halts (by using os calls like OS_DELAY() or OS_WAIT()). Seemed like the timeout does not occurred to allow next task to run.

I am debugging using the uVision Debugger. Could this have some effect? I am not using Timer0 which the documentation said was used by RxTiny for time ticks.

I looked at the RxTiny examples. Did not see anything that was different than what I am doing. Thanks for your help.

Parents Reply Children
  • Hi Scott,

    Thanks for your reply. Pg 242 of the 166/167 Assembler and Utilities manual described RxTiny task switching and timeout. Preemptive is descrived on pg 244 that an RxTiny task needs a timeout first before it can switch, instead of switching at any time when a higher priority task arrived. The RxTiny documentation does not say anything about stopping a task to start another task.

    Confg_tny.a66 has a TIMESHARING variable which dictates the timeout periods.

    Comments? Thanks for your help.