Support flashing from HEX file.