Windows firmware loader sets EEPROM

Windows firmware loader sets EEPROM plus fix all compilation warnings