User Activity

#define RAM_EXECUTION (1) configured with STM8AF52xxUse FLASH_EraseBlock in debug mode to erase normally.In release mode (medium or high optimization) use FLASH_EraseBlock to die.why?