- 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).
unable to start External mode simulation because target is not connected.
4 次查看(过去 30 天)
显示 更早的评论
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. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/908825/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/908825/image.png)
0 个评论
回答(1 个)
Vandit
2024-1-25
编辑:Vandit
2024-1-25
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:
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
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!