Initialize the global data after the hardware initialization
Test the eeprom has been write or not in the global data initialize function