フィルターのクリア

Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target,

146 ビュー (過去 30 日間)
hi everyone.
when i'm upload my simulink model to c2000 F28379D its give error as follows,
Build process completed successfully
Output port 2 of 'C2000codePLL2017b_v2/Demux3' is not connected. [4 similar]
Component:Simulink | Category:Block warning
Unconnected line found in 'C2000codePLL2017b_v2' (outside of current view)
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
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
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
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.
  2 件のコメント
Do
Do 2023 年 10 月 20 日
編集済み: Do 2023 年 10 月 20 日
fix được không chỉ với e với ạ
son
son 2024 年 4 月 21 日
mình cũng bị như này

サインインしてコメントする。


Venkatesh Chilapur
Venkatesh Chilapur 2018 年 12 月 6 日
編集済み: madhan ravi 2018 年 12 月 7 日
  2 件のコメント
dhanushka thennakoon
dhanushka thennakoon 2018 年 12 月 7 日
I set the settings according to your link.but after runnin same error shows.in I have set target settings port 2 and device manager also shows that my c2000 port is port2.what is the reason for this error and how to solve this,
error message is,
Build process completed successfully
Output port 2 of 'C2000codePLL2017b_v3/Demux3' is not connected. [4 similar]
Component:Simulink | Category:Block warning
Unconnected line found in 'C2000codePLL2017b_v3' (outside of current view) [2 similar]
Component:Simulink | Category:Block diagram warning
action: EXT_CONNECT
Component:Simulink | Category:Model
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.
Component:Simulink | Category:Block diagram error
Unable to connect to the 'TI Delfino F2837xD' target for 'C2000codePLL2017b_v3'.
Thank you in advance

サインインしてコメントする。


AGORO SODIQ
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

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by