check msgIds while flashing. prevents corrupted flashing when flash does not see an ack