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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Matthias K
Matthias K il 22 Nov 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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by