主要内容

Troubleshooting Test Connection Issues

Troubleshooting Serial Port Not Listed

In the Test Connection screen of Hardware Setup process, if the required serial port does not appear in the Specify Serial Port drop-down list, try the following steps:

  1. Disconnect the ArduPilot Autopilot board from your computer.

  2. Click < Back to go back to the previous screen.

  3. Reconnect the ArduPilot Autopilot board using the USB cable.

  4. Return to the Test Connection screen.

  5. Select the required serial port from the Specify Serial Port drop-down list.

If the required serial port is still not listed, manually specify the serial port. For more information, see Using Simulink with Custom or Unlisted ArduPilot Autopilot Hardware Targets.

Troubleshooting Connection Errors When Switching from PX4 to ArduPilot Firmware

After flashing ArduPilot firmware onto a board that previously ran PX4 firmware, you might encounter connection errors or issues when testing the connection to the autopilot or hardware board. To resolve this issue, perform the following steps:

  • Remove SD card before flashing.

    1. Remove the SD card from your autopilot board and then click Upload Firmware to flash the firmware.

    2. After flashing, reinsert the SD card and then click Get Accelerometer data.

  • If the above steps does not fix the issue, flash ChibiOS Bootloader to the board. For information on flashing ChibiOS Bootloader, see Loading Firmware onto boards without existing ArduPilot firmware.

If the hardware setup gets stuck due to an incorrect COM port selection, press Ctrl+C to terminate the process, then restart the hardware setup with the correct COM port.

See Also