Other Parts Discussed in Thread: SYSBIOS
Hello, TI Experts,
Our customer sent us questions about TI-RTOS(SMP) behavior on TMDSIDK574 under like below condition.
- CCS Version: 8.1.0.00011 + Patch(e2e.ti.com/.../2724497
- PDK pdk_am57xx_1_0_11
- SYSBIOS bios_6_52_00_12
- HW AM574x IDK (http://www.tij.co.jp/tool/jp/TMDSIDK574)
- Probe XDS100v2 USB
They checked the SMP behavior on TMDSIDK574.
Please refer attached pdf.
- Two tasks are created on Core0(A15_0) like below;
- TaskC0_T1(Pri=16) is running & Task_disable().
- TaskC0_T2(Pri=16) is ready.
- Two tasks are created on Core1(A15_1) like below;
- TaskC1_T1(Pri=16) is running & yielded.
- TaskC1_T2(Pri=16) is running after TaskC1_T1 is yielded.
Question1:
Could you tell us why TaskC1_T1 get "FALSE" by Task_enabled()?
Their understanding is as follows;
- If Task_disable() for TaskC0_T1 disable SYS/BIOS task scheduler to only Core0,
TaskC1_T1 should get "TRUE" by Task_enabled().
- If Task_disable() for TaskC0_T1 disable SYS/BIOS task scheduler to all SMP Cores(Core0&Core1),
TaskC1_T1 should get "FALSE" by Task_enabled() and ignore following Task_yield().
Question2:
Could you tell us Task_disable() specification in SMP case?
- Task_disable() disable SYS/BIOS task scheduler to only Core0?
OR
- Task_disable() disable SYS/BIOS task scheduler to all SMP Cores(Core0&Core1)?
-> Which is correct?
Question3:
Are there any way to know the task scheduler condition which is "Task_disable or not" on each Core?
Best regards,