PixHawk trouble

My PixHawk keeps registering a crash even before my drone gains any altitude,
my drone framework is an x type.