MATLAB: Pixhawk 2.1 cube not detected as a USB device, after inserting SD card with rc.txt.

Embedded Coder

I have a Pixhawk2.1 cube board. Following the instructions in the screen, I inserted the SD card with rc.txt in the board. But the board is not being detected as a USB Device, or it appears for a few seconds and then disappears.

Best Answer

This issue is sometimes seen in a new Pixhawk 2.1 board, or if the board has been flashed with ArduPilot firmware before inserting the SD card with RC.txt.
To resolve this issue, flash the latest stable release of the PX4 Firmware, using QGroundControl.
Refer to QGroundControl documentation for more details on uploading the PX4 firmware. This action needs to be done only once.
The computer should be able to detect the board(with SD card) as a USB device after the above action.