Second time setup

Hello guys!!! I am using Apm 2.6!! in my first setup, I used the quadcopter firmware!! but, I changed my copter frame and it is now an hexacopter!! So, I wasn’t able to connect the apm for hexacopter firmware, and it was always giving me some errors, then connect via MAVlink as a quadcopter!!
Please I need help!!