Pixhawk 6c not spinning motors (Holybro X500 v2, v4.5.6)

Hi all,

I have a Holybro X500 V2 drone with a Pixhawk 6c. I have flashed Ardupilot 4.5.6 to it and I cannot get it to test the motors. I have calibrated the gyros/accel/mag, radio, ECS etc. It beeps as if it is doing the test, but motors do not spin.

History:
When I first got the drone 10 months ago, I immediately installed Ardupilot on it and used Mission Planner. It worked perfectly fine. I followed this 3 video series: Link. I did a few flights, but it was difficult without a radio controller, so I let the drone sit for 9 months until I got a radio. Then I flashed PX4 to the Pixhawk and started using QGC instead of Mission Planner. However, I decided to move back to Ardupilot, as I was unable to get stable lift off. After flashing Ardupilot, I can no longer do any motor tests. The tests work with PX4 and Mission Planner.

Any thoughts on how I can debug this? Why did it work initially but not anymore?

INFO MissionPlanner.MAVLinkInterface - doCommand cmd DO_MOTOR_TEST 1 0 10 5 0 0 0
INFO MissionPlanner.MAVLinkInterface - set giveComport Base Thread current False new True
INFO MissionPlanner.MAVLinkInterface - doCommand cmd resp DO_MOTOR_TEST - ACCEPTED
INFO MissionPlanner.MAVLinkInterface - set giveComport  current True new False
INFO MissionPlanner.MAVLinkInterface - 9/10/2024 3:17:56 PM 6 starting motor test
INFO MissionPlanner.MAVLinkInterface - set giveComport Arm State change current False new True
INFO MissionPlanner.MAVLinkInterface - getWPint 16 0 0 0 0 opt 0
INFO MissionPlanner.MAVLinkInterface - set giveComport  current True new False
INFO MissionPlanner.MAVLinkInterface - 9/10/2024 3:18:01 PM 6 finished motor test

Here’s the console feedback when I do the test.

Post the parameter file.

params.param (17.6 KB)
Here you go. I flashed the plane firmware and then drone firmware back (as per some advice I’d received), but it did not help. Plus I put in a new 32GB SD card to replace the stock one.

You have Dshot configured MOT_PWM_TYPE, 5 but no other required settings.
What ESC?
What firmware (Bdshot or no?)

I’m using the stock ESCs that come with the 500v2, BLHeli S ESC 20A, set to dshot300.
I flashed the standard firmware, not bdshot (I did try it before, no success).

What other parameters are required?

Thanks!

Did you flash Bluejay on the ESC’s? You should if not to take advantage of Bdshot.
A few parameters but do this 1st and then flash the Bdshot version of firmware to the FC.

If you are not going to do that then you have to configure the main outputs you have configured for Dhsot.

Thanks. I will look into how to flash the ESCs. I am new to drones, but not new to electronics.

I am still wondering why it worked the first time I flashed it last year, but now not working anymore with the same workflow. Maybe chalk it up to changes in firmware and software since then?

Dshot won’t work on the Main outputs you have configured with this disabled BRD_IO_DSHOT
Also need these:
SERVO_BLH_AUTO,1
SERVO_DSHOT_ESC,2

This will change with Bdshot.

From one rabbit hole to another, haha.

In my efforts to look into ESC Bluejay flashing, the ESC Confgurator website doesn’t appear to work. I did have to modify the “SERVO_BLH_AUTO = 1” parameter, which was at 0, to get it to even attempt to communicate with the ESCs.

The logs show the following:

2024/09/12 09:23:01: Port selected
2024/09/12 09:23:02: Opened serial port
2024/09/12 09:23:03: MSP command failed: Timed out after 1000ms
2024/09/12 09:23:03: TX: cmd_DeviceInitFlash - 0x0 
2024/09/12 09:23:06: Failed processing command cmd_DeviceInitFlash after 5 retries. 
2024/09/12 09:23:06: MultiWii API version received: 1.42.0
2024/09/12 09:23:06: Flight controller info, identifier: ARDU version: 3.3.1
2024/09/12 09:23:06: Running firmware released on: Mar 16 2018 08:42:29
2024/09/12 09:23:06: Board: ARCH, version: 0
2024/09/12 09:23:06: Unique device ID received - 0x03a003a3430510938303334
2024/09/12 09:23:07: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:08: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:09: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:10: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:11: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:12: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:13: Unknown command detected: 15
2024/09/12 09:23:13: TypeError: Cannot read properties of null (reading 'connectedESCs') 
2024/09/12 09:23:13: Could not enable 4 way interface - reconnect flight controller
2024/09/12 09:23:13: Trying to read 0 ESCs
2024/09/12 09:23:14: MSP command failed: Offset is outside the bounds of the DataView
2024/09/12 09:23:14: MSP command failed: Offset is outside the bounds of the DataView

I am a little confused that it shows that Ardupilot version, while I have just flashed 4.5.6 with Mission Planner. The ESC Conf is unable to do anything.

Thoughts?