Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target,
조회 수: 206 (최근 30일)
이전 댓글 표시
hi everyone.
when i'm upload my simulink model to c2000 F28379D its give error as follows,
Build process completed successfully
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block diagram warning
Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the targetError occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out:
a) The target is not switched on.
b) The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
please help me to solve this error.
Thank you in advance
댓글 수: 2
SIVA KRISHNA
2022년 2월 20일
Please recheck the Oscillator clock frequency properly. That should solve the issue. For F2838X devices, it should be 25 MHz.
Ivana
2023년 11월 8일
Hi! I also get the same error when the MPU6050 is connected to the the I2C_A of the C2000. When the SDA and SCL is connected to the GPIO 104 and 105. Please help me to solve this.
답변 (3개)
anh tuan chu
2022년 5월 5일
when i'm upload my simulink model to arduino mega2560 its give error as follows, Error occurred while executing External Mode MEX-file 'ext_comm
Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out:
a) The target is not switched on.
b) The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which
downloads and runs your application on the target.
댓글 수: 3
Venkatesh Chilapur
2018년 12월 6일
편집: madhan ravi
2018년 12월 7일
AGORO SODIQ
2019년 4월 4일
To correct this, Go to the Device Manager: Under the ports(COM &LPT) Uninstall the XDS100 Class Serial Port Driver.
Next, In the Texas Instrument Debug probes,
"Check" Load VCP for Auxiliary Port and
"Uncheck" Load VCP for Debug Probes.
Disconnect the DSP and reconnect it so that the drivers are installed again.
Make sure that when yu open the XDS100 Class USB serial Port again in device maneger you see:
Location: on XDS100 Auxiliary Port
Make sure other settings are correct: port setting, buad rate etc and you'll see it works
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!