We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I try to run \keil\ARM\RTX\Examples\Mailbox\Mailbox.Uv2 on evaluation board of MCB2300 Ver3.1 there are two user defined tasks, that is send_task and rec_task. send_task send messages to msgbox 3 times, at last call function os_tsk_delete(), I set breakpoints in rec_task and idle_task, and found system stays at idle_task after calling os_tsk_delete() in send_task.
my questions are 1) rec_task's priority is 1, idle_task's priority is 0, why not enters higher priority task? 2) if OS_ROBIN is set to 1, how to manage the tasks if their priority are different. 3) as a licensed user, is it possible to get the kernel source codes from you?
1. rec_task is not READY to run. So the idle task is executing even though it has a lower priority.
2. round robin task switching is a task switching between tasks of equal priority. Higher priority tasks are scheduled according the RTX task scheduler.
3. No, you need to buy RL-ARM to get the sources.
Franc
Thank you Franc. The reason why this forum is so attractive is because of people like u.