Dear Yuri.
Thank you for your reply.
You mean the implementation of LMEM cahce is a specification of M4 core in i.mx7d.
The following behavior happens?
(1).A debugger puts a BKPT instraction at a point that the debugger's user sets.
(2).The user runs the program and the program stops at the point that a BKPT instruction is put.
(3).The user re-runs the program but the program execution stops at same point.
Because the CPU(M4 core) fetchs the BKPT instruction from cache buffer, not from memory.
The reason is that the BKPT instruction exists on LMEM cache
although the debugger modifies the BKPT instruction to the original instruction via AHB(background memory access).
Is my understanding is correct?
Best regards,
Hideo Yamashiro.