SMP mode execution in bare metal project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SMP mode execution in bare metal project

485 Views
kushshah
Contributor I

Hello Team,

I am running bare metal project in SMP mode on all cores (on LS1043A) using code warrior ARMv8. 

While launching SMP mode, I can see four threads are launching on four cores.

So, Do all the threads run same application independently on respective core or does it run part of the application on respective core?

If all the threads run same application image on respective core, will that cause memory contention (If the application is accessing memory continuously)?

Thanks,
Kush.

Tags (2)
0 Kudos
1 Reply

376 Views
Pavel
NXP Employee
NXP Employee

CodeWarrior supports multicore optimized for Linux SMP.

https://www.nxp.com/docs/en/fact-sheet/LSARMv8ISAFS.pdf

 

CodeWarrior supports debugging Linux application for Linux SMP.

 

CodeWarrior does not have possibility for creation one project for parallel execution on a few cores. It supports Linux kernel SPM.

 

See the following page:

https://www.embedded.com/design/mcus-processors-and-socs/4429496/Multicore-basics


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos