Memory Execution Violation

A memory execution violation Reset occurs if executing an instruction being fetched from outside the valid execution area. The invalid execution areas are:
  1. 1.Addresses outside implemented program memory. Refer to the “Memory Organization” chapter for details about available Flash size.
  2. 2.Storage Area Flash (SAF) inside program memory, if enabled.

When a memory execution violation is generated, the device is reset and the MEMV bit is cleared to signal the cause of the Reset. The MEMV bit must be set in the user code after a memory execution violation Reset has occurred to detect further violation Resets.