hi, i'm working on a project based on an STM32. i've flashed the STM32 for using it in arduino ide. All was working find until now.
today i made a function to reset all the parameters stored in EEPROM :
Code: Select all
for (int i = 0; i < 512 ; i++)
{
EEPROM.write(i,0);
}
i've run the function once and now EEPROM.write() does not work anymore. when i try to write somyhing in internal eeprom as i used to, everything seems working normaly, but when i read the data it alwaise return 0.
i can upload new sketch, but the EEPROM is alwais protected and i cant writre anymore.
can you help me to solve this problem ?
thank you