Why I get error when I try deploying the blink LED example?
조회 수: 3 (최근 30일)
이전 댓글 표시
I got the following error when I try to deploy the model onto the hardware (Launchxl-F28069M):
The following error occurred during deployment to your hardware board:
Debug Server Scripting (DSS) error: The system cannot find the path specified.
I am using CCS 10.2
댓글 수: 0
답변 (1개)
Shiva Kalyan Diwakaruni
2021년 5월 26일
Hi,
First, make sure you correctly set up the C2000 Support Package by clicking the "setup" icon in the add-ons manager. This will take you through a series of steps to configure and locate installed TI products. This issue is most likely a result of MATLAB not being able to find a TI product such as TI C2000WARE. See the following link for short instructions on setting up the support package:
Make sure the board is set up correctly in the Hardware Implementation tab of the model's Configuration Parameters. Make sure Code Composer Studio is correctly set up and configured for Embedded Coder.
If these steps do not resolve the issue, you can programmatically build and download the model:
>> open('ModelName.slx');
>> rtwbuild('ModelName')
>> command = 'C:\ti\ccsv7\ccs_base\scripting\examples\loadti\loadti -a -c=f28379D.ccxml ModelName.out';
>> [status1,cmdout1] = system(command);
Make sure to replace the model name and the path to loadti with the appropriate values. However, this will prevent running in external mode and communicating with Simulink, so it is best to fully investigate the previous options before using this workaround.
Hope it helps.
댓글 수: 2
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!