AnsweredAssumed Answered

Source code is corrupting in STM8S003F3P6 microcontroller

Question asked by debadutta reddy on Dec 20, 2017
Latest reply on Jan 3, 2018 by Vyacheslav Azarov

Hello
I have developed a timer cum frequency meter using STM8S003F3P6 microcontroller. Interfacing a LCD to show the frequency and time. And also reading a remote switch (PLC realy switch), accordingly controlling(switching) an external driver board of a generator.

But the source code inside the micro controller is corrupting after several cycles of switching and the system becomes dead.   

After reprogramming the micro controller the system works normally.

Please guide me.... what could be the issue here?
programmer level fault or hardware level fault or any other ?

what I have to do to resolve this issue?

Outcomes