Keil™, An ARM® Company

Discussion Forum

ARM: RTX Task management

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
TP User
Posted
17-Sep-2007 20:23
Toolset
ARM
New! ARM: RTX Task management

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?

Read-Only
Author
Al Bradford
Posted
18-Sep-2007 13:45
Toolset
ARM
New! RE: ARM: RTX Task management

You are under the impression that you are talking with Keil people on this forum. Actually most OPs on this forum are just user's like yourself. Suggest that you contact Keil sales directly with question of source code. With the RTX Lib purchase you can get some source but I doubt that all RTX Lib routines are available in source.

Read-Only
Author
Franc Urbanc
Posted
18-Sep-2007 22:29
Toolset
ARM
New! RE: ARM: RTX Task management

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

Read-Only
Author
TP LIU
Posted
22-Sep-2007 20:59
Toolset
ARM
New! RE: RTX Task management

Thank you Franc.
The reason why this forum is so attractive is because of people like u.

Next Thread | Thread List | Previous Thread Start a Thread | Settings