External Mode Open Protocol Connect command failed Reason: Unable to connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command

15 vues (au cours des 30 derniers jours)
I try to run an example in mathwork(px4demo_uORBRead), my board is pixhawk6C.
openExample('px4/GettingStartedWithUORBBlocksPX4SPKGExample','supportingFile','px4demo_uORBRead')

Réponses (1)

Pratyush Swain
Pratyush Swain le 27 Mar 2025
Hi w,
I recommend going through the following discussions in the forum where you can find some insights and direction:
Also make sure to check your serial communication configuration like:
1. Baud Rate Settings: Baud rate configured in Simulink should baud rate expected by the Pixhawk 6C
2. COM Port Assignent: Verify that the COM port assigned to the Pixhawk 6C is correctly specified in Simulink's External mode settings.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by