Hi, I'm using MPC5676R with trace32,
The example code "XPC567XRKIT-PinToggleStationery-V0_7" has optimization.c and optimization.h files.
when OPTIMIZATIONS_ON = 1 , Optimizations() function will be executed to enable cache.
but, When I call the MMUSRAMIsCacheable(), the operation is weird.
I can't change any member variables of struct, but other global variables can be changed in trace32 WATCH window.
I thought that the code in MMUSRAMIsCacheable() function is wrong, but I don't know what it does mean.
In AN4324, the SRAM code is different with the example MMUSRAMsCacheable() code.
When I change the code according to AN4324, It does not affect.
What is the reason about these phenomenon?