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.

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

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

댓글을 달려면 로그인하십시오.

답변 (3개)

Hi, can you fix this error? please help me, I have the same problem
Did you solve the problem? Please contact me at QQ: 471882771

카테고리

질문:

2017년 6월 14일

답변:

2018년 5월 18일

Community Treasure Hunt

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

Start Hunting!