calculate application-crc using the size stored in eeprom