Error: The next instruction was traced as a memory access instruction

The trace from the ETM indicated that the instruction on the next line read some data from memory, or wrote some data to memory, but the instruction is not a memory access instruction. This typically indicates that the wrong image is loaded into the debugger, or that the code is self-modifying. Decompression of data tracing and data address tracing stop until appropriate synchronization points are found in the trace data