Flush the in/output before programming firmware.