Found the solution.
- Disconnect the Pixhawk 6C from your computer.
- Open Device Manager in Windows (you can search for it in the Start menu).
- Reconnect the Pixhawk 6C via USB.
- Observe the Ports (COM & LPT) section in Device Manager:
- Initially, a COM port (e.g., COM4) will appear when the Pixhawk is in bootloader mode. Note this as the bootloader COM port.
- After 5–10 seconds, the port may disappear and reappear as a different COM port (e.g., COM3). Note this as the main communication COM port.
- In the Test Connection or Firmware Upload step, select Specify Serial Port instead of letting MATLAB automatically select the port.
- Enter the bootloader COM port (e.g., COM4) in the Enter Serial Port field.
