Pixhawk external mode errors:Error occurred while executing External Mode MEX-file 'ext_serial_win32_comm': Failed to connect to the target. A time-out occurred while waiting for the first connect response packet.

1 vue (au cours des 30 derniers jours)
Hi,firends,
Recently,I'm currently using Pixhawk PX4 Support from Embeded Coder。In Normal Mode,I successfully build the example model,and upload it.But when I choose the External mode, I can't connect to the target. I get the following error.
action:EXT_CONNECT
Error occurred while executing External Mode MEX-file 'ext_serial_win32_comm': Failed to connect to the target. A time-out occurred while waiting for the first connect response packet. 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.
Why do I get this errors? And how can I solve the problem?
The following picture is the setting.
Thanks,
  1 commentaire
Vinay Rathore
Vinay Rathore le 31 Oct 2017
If anyone solve the above problem (asked by Xin Jin) please inform me. it's very important I have to complete my project and I haven't too much time, thank you in advance my email id -vinayrthr7@gmail.com

Connectez-vous pour commenter.

Réponses (3)

Santiago Cayo
Santiago Cayo le 21 Sep 2017
Hi, can you fix this error? please help me, I have the same problem

Yuanyan Chen
Yuanyan Chen le 19 Oct 2017
Did you solve the problem? Please contact me at QQ: 471882771

Ajay Joseph
Ajay Joseph le 18 Mai 2018
I am having the same issue. Any luck?

Community Treasure Hunt

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

Start Hunting!