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.

2 views (last 30 days)
Xin Jin
Xin Jin on 14 Jun 2017
Answered: Ajay Joseph on 18 May 2018
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 Comment
Vinay Rathore
Vinay Rathore on 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

Sign in to comment.

Answers (3)



Community Treasure Hunt

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

Start Hunting!