Write eeprom while flashing
Add watch dog timer and error indication at power on