Tool/software: TI-RTOS
Hi All,
I use Vision SDK 2.9. and SYS/BIOS on all cores.
Now I've set A15 to SMP mode.Does anyone know how to test that SMP has worked correctly?
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Hi All,
I use Vision SDK 2.9. and SYS/BIOS on all cores.
Now I've set A15 to SMP mode.Does anyone know how to test that SMP has worked correctly?
Thanks.
A very simple test would to make sure Tasks are running on all cores. You can conduct this test as follows:
- Create 2 tasks of equal or different priority in main()
- In each task function call Core_getId() (Header at ti/sysbios/hal/Core.h) and print the return value. The 2 tasks should run on different cores and print core Ids 0 & 1 respectively.
In case you haven't already seen this, there is a wiki page on SMP/BIOS (SYS/BIOS w/ SMP enabled): http://processors.wiki.ti.com/index.php/SMP/BIOS
The wiki also has additional SMP kernel only examples.
Best,
Ashish