Thank you for your attention. Here is the project.
It is that I try to write to a RAM address after setting it as read only using SMPU.
"*(unsigned int *)0x400bf000 = 0xAABBCCDD;" (code in the SMPU Test);
without this line , it would not happen this error.
Besides , what is the normal action when writing to a read only RAM address. Would it run into an interrupt?
In my project, it would not run properly when writing to a read only RAM address. (Setting it to read only by SMPU.)
Thanks.