hex file crc validation in flasher