2014-03-28 6:21 PM
Hi,
I'm entering in STOP mode with the command:PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI);DATA_EEPROM_Unlock();DATA_EEPROM_ProgramByte(address++, *s);2014-03-30 9:25 AM
solved, I was forgetting to clear the flags:
FLASH_ClearFlag(FLASH_FLAG_EOP|FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLASH_FLAG_SIZERR | FLASH_FLAG_OPTVERR | FLASH_FLAG_OPTVERRUSR);
In normal Run mode it doesn't matter...