Apm firmware download failed after downloading px4 firmware

When I downloaded the px4 firmware from qgc, the UAV flew normally, but when I downloaded the apm firmware from missionplanner, did the UAV take off abnormally? I don’t know why (didn’t it erase clean?)