Custom HW target based on Cortex-A: How to start on specific core

1 visualización (últimos 30 días)
Matthias K
Matthias K el 22 de Nov. de 2024
Comentada: Matthias K el 22 de Nov. de 2024
We build our own target based on the cortex-a hw support package and it works fine so far.
But now I want to start the app when using external mode or build and deploy on a specific core.
Out target features 4 cores and I isolated 2 of them (2,3).
What I want to do is basically telling matlab it should call the .elf with taskset -c 2,3 /tmp/my_modell.elf
Is there a way to add this to my make target script?
I assume it is somehow related to: loader.LoadCommand = 'matlab:codertarget.arm_cortex_a.internal.loadAndRun'; ?
  1 comentario
Matthias K
Matthias K el 22 de Nov. de 2024
And just in case someone experienced sees this:
The scrips feature a few "bad" workarounds to expose some settings, like overrun detection, com in background, or change some setting like core count, frequency,...
is there a better, official way to do this?
Another issue, while I can change the target ip in simulink, my deployer always uses the ip from the script, so that, wheenever I want to changee the target ip, I need to run the script again

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by