How can i change the Connectivity Configuration for arduino Target?

5 ビュー (過去 30 日間)
Karim Abdou
Karim Abdou 2017 年 5 月 25 日
回答済み: Hassan Abouobaida 2021 年 5 月 11 日
I downloaded TI C000 hardware support package and it worked fine for me. Now, I've downloaded Ardunino support package, and it works fine for just flashing my algorithms on Arduino. However, when I try to make PIL simulation I get this error message :
---------------------------------------------------------
Cannot perform a processor-in-the-loop (PIL) simulation for "gainer".
The configuration parameters for this model do not support the following connectivity configurations: Texas Instruments Code Composer Studio (IDE), Texas Instruments Code Composer Studio (TCP/IP), Texas Instruments Code Composer Studio (Serial)
To fix this error, update the configuration parameters or create a supported connectivity configuration. See Configure a SIL or PIL Simulation, Create a Connectivity Configuration for a Target, and Processor-in-the-Loop (PIL) Simulation in your product help.
----------------------------------------------------------
Any Texas Instruments text is hyperlinked, when I click it, it opens a configuration class with the following property. ConfigRegistry with properties:
ConfigName: 'Texas Instruments Code Composer Studio (IDE)'
ConfigClass: 'ticcsext.pil.ConnectivityConfig'
SystemTargetFile: {}
TemplateMakefile: {}
Toolchain: {}
TargetHWDeviceType: {}
So how can I change the property values of this class to be Arduino's configuration.
  1 件のコメント
Martin Ross
Martin Ross 2017 年 9 月 15 日
編集済み: Martin Ross 2017 年 9 月 18 日
I am getting the same error message and have had no success in fixing it. Did you find a way to resolve it?
EDIT: I have now resolved my issue. It was due to the fact that I had 2 sl_customization.m files on the Matlab path, only 1 of which was necessary. This meant that the wrong target hardware device was being defined by my connectivity configuration and so it did not match the hardware device I had selected in the configuration parameters of my model.
This was a very frustrating error to try to solve, so I hope my explanation here helps other people who may have a similar problem.

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

回答 (1 件)

Hassan Abouobaida
Hassan Abouobaida 2021 年 5 月 11 日
Hello,
I get the same error, please help me.
................................................................................................................................
### Build procedure for model: 'Control' aborted due to an error.
Error using rtwbuild (line 301)
Cannot perform a processor-in-the-loop (PIL) simulation for "Control".
The configuration parameters for this model do not support the following
connectivity configurations: ALTERASOCSIM, XILINXZYNQSIM, Texas Instruments
C2000 Base, Texas Instruments Code Composer Studio (IDE), Texas Instruments Code
Composer Studio (TCP/IP), Texas Instruments Code Composer Studio (Serial)
To fix this error, update the configuration parameters or create a supported
connectivity configuration. See Configure a SIL or PIL Simulation, Create a
Connectivity Configuration for a Target, and Processor-in-the-Loop (PIL)
Simulation in your product help.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by