How to change from ardupilot to PX4

trying to upload px4 firmware and it keeps failing to open port when i connect the usb but it will begin communicating with the cube orange just fine

Somehow you canĀ“t upload firmware the normal way, you need to download the firmware for cube orange px4 and use custom upgrade.

You can download a prebuilt binary for the cube orange here: https://github.com/PX4/PX4-Autopilot/releases/tag/v1.11.2