Servers by jDrones

Motor stopped mid-flight when mapped to an auxiliary pin in Pixhawk2 hex-copter configuration

I was flying a hex-copter frame yesterday. Since the Main out pin2 was not working, I mapped Auxiliary pin2 to motor2 output by changing servo10 function as 34: Motor2.
The copter took-off fine and executed its mission in AUTO mode, but after 20 mins of flight, motor2 suddenly stopped.
Want to know why this happened? Any help would be appreciated.

Without a binary log file we can only speculate. We do not like to do that around here. Please provide the binary log file.

What do you mean by “pin 2 wasn’t working”?

The pin number 2 of mainout of servo rail of our pixhawk2.1 was damaged. We observed that whenever we connected ESC’s power and pwm pins simultaneously, the corresponding pwm output of pixhawk servo rail gets damaged and no pwm output is generated henceforth.

@amilcarlucas Thank you for the response. The following logs are of a different flight in which the problem appears not of mapping auxiliary pin to the motor output but seems more strange. I have conducted six flights since then on a new pixhawk2.1 and every time one or two random motors shut down after 15-20 mins of flight time in auto mode.

The problem does not appear to be of propulsion because the system ran continuously without any issue on the ground.
Using frame type hex-copter on 4.0.0 copter firmware.
Using T motor alpha ESC with U8 lite 85Kv motors.

Hey @aannurag
I went through your log. Can you please share more details on your power electronics? How are you powering Pixhawk Cube, what power module?
Preferably a picture of pixhawk cube connections.
The Vcc is lower than usual. Vservo is your BEC voltage. You haven’t setup power module and it’s hard to gauge your power consumption.

@Mallikarjun_SE I am using the 5V output of Matek Ubec to power pixhawk2.1.
http://www.mateksys.com/?portfolio=u4a2p
I have shorted the 5V and ground of power brick port to the 5V and ground of the servo rail of pixhawk2.1. This way I am able to operate my payload drop servo and pixhawk2.1 through a single 5V output of BEC plugged into servo rail.

Thank you for the response.

Servers by jDrones