i compled the rtxtiny2\example\ex2,and successed. but when i dubug it,i find the task do not be switched. it is runing in the task2.and the task0 is ready and time out,but not be runed.. why is it? thanks
i have set three breakpoint.but i have not set breakpoint in the "counter2++" line. and not in the job2 funcation. yes ,the time-out event is appear. but it is job0 and job1. thanks.
Check the configuration file CONF_TNY.A51. Is the value TIMESHARING EQU 5 ; default is 5 Hardware-Timer ticks. set correctly? Reinhard
thanks. what is you said. best regards.
Does it work now?
yes,it works now. i do not know why the TIMESHARING value be set 0. i need read the rtx51 user manual more carefully. anyway , all is ok. thanks. i will go to bed. :-)