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

1 回表示 (過去 30 日間)
Matthias K
Matthias K 2024 年 11 月 22 日
コメント済み: Matthias K 2024 年 11 月 22 日
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 件のコメント
Matthias K
Matthias K 2024 年 11 月 22 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by