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

23 views (last 30 days)
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 Comment
Matthias K
Matthias K on 22 Nov 2024 at 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

Sign in to comment.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!