PX4-Bootloader icon indicating copy to clipboard operation
PX4-Bootloader copied to clipboard

Add a new target Pixhawk5X

Open jamming opened this issue 3 years ago • 3 comments

Pixhawk5X is produced by holybro. It is full base on Pixhawk FMUV5X standards. This new bootloader has Holybro usb pid and manufacture string.

jamming avatar Nov 29 '21 06:11 jamming

@davids5 The bootloader on Pixhawk5X currently shows this information, with the USBMFGSTRING as "Auterion" Current Bootloader Info

We feel like it is inaccurate so we want to change it to. Prefered Bootloader Info

May you please let me know if this is possible? What kind of firmware & QGC changes needs to be made? Is there other alternative?

vincentpoont2 avatar Nov 30 '21 04:11 vincentpoont2

@mrpollo - Would you please enumerate all the changes you unstreamed to QGC for V5X. FYI: @LorenzMeier

a board_id (BOARD_TYPE in bootloader) 51 (0x33 hex) is used to select the firmware. TARGET_HW_PX4_FMU_V5X and TARGET_HW_PIXHAWK5X would have the same id therefore the FW would be px4_fmuv-5x and it has build time setting for the CDCACM values of VID/PID/MFG (A limitation of NuttX) so it will report with the "Auterion" set.

a) To resolve this we would need dynamic USB CDCACM based on the REV/VER OR b) a separate board support (defconfig) directory that is a duplicate of V5X

davids5 avatar Nov 30 '21 13:11 davids5

@davids5 its a straightforward change in QGC, see this PR https://github.com/mavlink/qgroundcontrol/pull/9816

mrpollo avatar Nov 30 '21 17:11 mrpollo