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

14 Ansichten (letzte 30 Tage)
Matthias K
Matthias K am 22 Nov. 2024 um 14:56
Kommentiert: Matthias K am 22 Nov. 2024 um 15:04
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 Kommentar
Matthias K
Matthias K am 22 Nov. 2024 um 15:04
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by