Azzera filtri
Azzera filtri

How can i change the Connectivity Configuration for arduino Target?

12 visualizzazioni (ultimi 30 giorni)
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 Commento
Martin Ross
Martin Ross il 15 Set 2017
Modificato: Martin Ross il 18 Set 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.

Accedi per commentare.

Risposte (1)

Hassan Abouobaida
Hassan Abouobaida il 11 Mag 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!

Translated by