How can i change the Connectivity Configuration for arduino Target?

6 views (last 30 days)
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 Comment
Martin Ross
Martin Ross on 15 Sep 2017
Edited: Martin Ross on 18 Sep 2017
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.

Sign in to comment.

Answers (1)

Hassan Abouobaida
Hassan Abouobaida on 11 May 2021
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.

Community Treasure Hunt

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

Start Hunting!