Part Number: EVMK2H
Hi
i'm new to ARM processors and i was running some experiment on ARM cores of 66AK2H. at some point i want to see cache behavior of ARM while it's "cache is enabled" and its "MMU is disabled". i 've done this by adjusting GEL file provided by TI. in this GEL file i comment out two part:
1. part related to disabling cache
2. part related to entering non-secure mode
after this to access HCR register i switched to "MONITOR MODE" by calling to SMC command.
Here is the problem:
when i enter monitor mode, only commands that seems to run are "branch" and "return from branch" and if i try to do anything serious like reading CP15 and doing another things will result in "UNDEFINED" exception.
i'm using ccs 8.3 and ubuntu 14.04 64 bit
HERE i attach the code so you could try it yourself.