Hi,
I'm working on a bare metal C++ application that needs to set various peripheral registers. I'm using CCS Version: 6.1.0.00104 with Starterware, BeagleBone Black and BlackHawk USB100v2.
After launching the debugger (BeagleBone_Black.ccxml) and running my programm, writes to memory locations in the Control Module (0x44E10000 - 0x44E11FFF) doesn't change the actual memory content. I think I'm running in User mode and need privileged mode. So, my question(s) are:
- How can I known the effective cpu mode ?
- How can I switch between cpu-modes (from user to privileged) ?
I have googled on this subject to no avail...
I have examined StarterWare source to no avail (CPUSwitchToPrivilegedMode() doesn't work, results in a deadloop @ 0x00020008)
Any help/advise is welcome.
Thanks in advance,
Paul