I have STM32F4-Discovery board. (MB997B with Discovery-MO expansion board)
From STM32Cube package, I ran several examples, applications and demo successfully. But EEPROM_Emulation application does not work well.
When I start program, LD4 is blinking, indicating error is occurred. I tracked step-by-step, so error occurred here.
/* Page0 valid, Page1 receive */
/* Transfer the variable to the Page1 */
EepromStatus = EE_VerifyPageFullWriteVariable(VirtAddVarTab[VarIdx], DataVar);
/* If program operation was failed, a Flash error code is returned */
if (EepromStatus != HAL_OK)
/* EEPROM Init */
if( EE_Init() != EE_OK)
I tried this with EWARM 7.70 and SW4STM32 and the result are same.
I don't understand why it does not work. I changed nothing in the program. There seems no hardware configuration.