AnsweredAssumed Answered

How can I avoid the interruption of communication through UART when I delete a page of Flash / EE

Question asked by Modeste on Aug 24, 2012
Latest reply on Aug 24, 2012 by MMA

I designed a measurement system with the ADuC7061 microcontroller and values are transmitted through UART. The measured values by a sensor are compared instantaneously and the highest value will be stored. But as I have to erase the page where I want to save this max. values. This operation "erase" causes the transmission of a value zero. I read on this site that during an operation such as this, the code that is executed in Flash / EE can not be accessed.

How can I do to prevent that during this operation "erase page" this error appear again.
My code "main function" is running in Flash / EE and the function to erase is running in the SRAM.