AnsweredAssumed Answered

UNABLE TO MODIFY EEPROM

Question asked by dobhal.puneet on Feb 3, 2014
Hello,
I am having issues writing data into EEPROM of Stm8s003K3. I am using Stm8s Discovery development board and IAR IDE.
I know the algorithm of unlocking the eeprom.

I have attached the code I am using. 

The problem is that eeprom is behaving in unpredictable way. Sometimes the data is written and sometimes it isn't.
Please provide me a reasonable answer on this issue.

Attachments

Outcomes