unable to start External mode simulation because target is not connected.

10 vues (au cours des 30 derniers jours)
Ravindu Vidanapathirana
Ravindu Vidanapathirana le 27 Fév 2022
Modifié(e) : Vandit le 25 Jan 2024
I recently started working with a LAUNCHXL-F28379D board and my first task was to blink the built in LEDs GPIO31 and GPIO34. However after creating the Simulink model and uploading the file to board, the below message appeared in diagnostics and the desired output was not working . What might be the issue and how to find possible solution? Please note that the launchpad was connected to the computer but even code composer studio couldn’t auto detect the Launchpad even though it is supposed to.

Réponses (1)

Vandit
Vandit le 25 Jan 2024
Modifié(e) : Vandit le 25 Jan 2024
Hello Ravindu,
I understand that you are facing an error while attempting to establish a connection between the hardware board and a Simulink model. In reference to your earlier observation that the error might not be exclusive to Simulink, given that Code Composer Studio is also experiencing difficulties in auto-detection, it raises the possibility of an underlying issue with the hardware board.
However, if you are experiencing challenges in connecting the hardware to the Simulink model, it is advisable to check the COM Port used to communicate with the board. Also, ensure the COM port set at 'Configuration Parameters > Hardware Implementation > Target hardware resources > External mode' is the same as the COM port of the serial interface.
To ensure other aspects of the board and MATLAB are setup properly, please double check the following:
  • Ensure MATLAB Coder, Simulink Coder, Embedded Coder are installed properly.
  • Ensure relevant support packages (Embedded Coder Support Package for Texas Instruments C2000 Processor) are installed including required 3rd party software.
  • Perform pending updates on Support Packages.
  • Check that the model in consideration does not use blocks unsupported for code generation or for deployment in the specified target (here, TI Piccolo F2800049C LaunchPad).
For information on how to set up External Mode Connectivity Between Simulink and Target Hardware, please refer to the following documentation:
Hope this helps.
Thank you

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by