CUAV X7 Pro & Pixhawk 6X: No QGC Connection with PX4, Works Fine with ArduPilot

I’m seeking help because my flight controllers (CUAV X7 Pro and Holybro Pixhawk 6X) fail to connect to QGroundControl after flashing PX4 firmware, even though ArduPilot works flawlessly.

The main issue is that QGC doesn’t recognize the vehicle, making it impossible to get logs the usual way. Additionally, I need guidance on how to force the Holybro Pixhawk 6X into DFU mode for bootloader recovery, as I cannot find a documented method.

Any advice on resolving the connectivity issue or accessing the DFU mode would be greatly appreciated.