NRF52840 - SDK 15.0 - SD 6.0.0
I'm trying to profile some code performance and I want to see how the I-Cache is impacting it.
If I attempt to access the NVMC register ICACHECNF once SD is enabled my device goes into a reset loop, crashing every time I try to turn off the I-CACHE. Obviously a question of privilege once SD is enabled- so Is there a SD function/SVC call to "properly" enable/disable the I-Cache? Since SD engages it by default, I can't turn it off before I start SD.
I also didn't see anything in the SDK_CONFIG.h with CACHE.