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

8 visualizaciones (últimos 30 días)
I try to run an example in mathwork(px4demo_uORBRead), my board is pixhawk6C.
openExample('px4/GettingStartedWithUORBBlocksPX4SPKGExample','supportingFile','px4demo_uORBRead')

Respuestas (1)

Pratyush Swain
Pratyush Swain el 27 de Mzo. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by