title: Arduino ESP8266 EEPROM commit() returns false
body: <p>I want to save the SSID and password in the EEPROM in my Arduino Sketch Wlan.</p>
  <p>Actually everything works so far, except that the commit () returns a false. And that's why the memory is empty again after a restart.</p>
  <p>My code:</p>
  <pre><code>void writePROM()
  {
    EEPROM.begin(0);
    EEPROM.write(0, 0xAA);
  
    byte ssidLength = ssid.length();
    byte passLength = pass.length();
  
    int adress = 2;
    EEPROM.write(1, (byte)ssidLength);
    for(int i = 0; i &lt; ssidLength; i++)
    {
      EEPROM.write(adress + i, (byte)ssid[i]);
    }
    adress += ssidLength + 1;
  
    EEPROM.write(adress++, passLength);
    for(int i = 0; i &lt; passLength; i++)
    {
      EEPROM.write(adress + i, pass[i]);
    }
  
    bool bRc = EEPROM.commit();
    if(bRc)
    {
      Serial.println(&quot;Write successfully&quot;);
    }
    else
    {
      Serial.println(&quot;Write error&quot;);
    }
    
    
    Serial.println(&quot;Write name to EEPROM = &quot; + ssid);
    Serial.println(&quot;Write password to EEPROM = &quot; + pass);
  }
  </code></pre>
  <p>What I am doing wrong?</p>