Error in uploading Firmware

hello i have error while installing firmware, and error is “communication error - no connection”
this above problem is in mission planner

and in apmplanner2 I m getting an error of “Unable to gain access to bootloader”

error