user40817: I'm working on Arduino pro mini.
and I store some data in internal EEPROM.
So, I want to erase certain data from 0x00 to 0x28 address in EEPROM.
void loop()
{
 ...
 ...
 if(erase_eeprom_flag==1)
 {
   addr_uu=0;
          erase_eeprom_flag=0;
          for(kk=0;kk<28;kk++)
          {
              EEPROM.update(addr_uu,0);

              addr_uu=addr_uu+1;

          }
          Serial.println("OK");  
          Serial.println(addr_uu,DEC);
          addr_uu=0;
      }
  }

But I got a data like(28 times '0' and other data 'xxx') "0000000000000000000000000000xxxxxxxxxxxx".
ex : 20170519    --->   expected data: 00000519 
                        (inappropriate data: 000020170519)
So, here actually push "0" / add at begin operation happen but I want to remove data from those address.     
Please tell which Arduino function help me for solving my issue.

user28709: You are clearing 28 decimal bytes, but your address range is 28 hex bytes, or 40 bytes of data.  Hence, the last 12 characters are untouched.

40817: <p>I'm working on Arduino pro mini.
and I store some data in internal EEPROM.</p>

<p>So, I want to erase certain data from 0x00 to 0x28 address in EEPROM.</p>

<pre><code>void loop()
{
 ...
 ...
 if(erase_eeprom_flag==1)
 {
   addr_uu=0;
          erase_eeprom_flag=0;
          for(kk=0;kk&lt;28;kk++)
          {
              EEPROM.update(addr_uu,0);

              addr_uu=addr_uu+1;

          }
          Serial.println("OK");  
          Serial.println(addr_uu,DEC);
          addr_uu=0;
      }
  }
</code></pre>

<p>But I got a data like(28 times '0' and other data 'xxx') "0000000000000000000000000000xxxxxxxxxxxx".</p>

<p>ex : 20170519    --->   expected data: 00000519 
                        (inappropriate data: 000020170519)</p>

<p>So, here actually push "0" / add at begin operation happen but I want to remove data from those address.     </p>

<p>Please tell which Arduino function help me for solving my issue.</p>
 28709: <p>You are clearing 28 decimal bytes, but your address range is 28 hex bytes, or 40 bytes of data.  Hence, the last 12 characters are untouched.</p>
