I use BBB with StarterWare. I want to set CONTROL_CONF_GPMC_CSN(0) regeister, but i can't set it
I think i need get into privilege mode at first.
But I don't know how to do?
Write CPSR like this? Or other
asm("MSR CPSR #0xdf");
Thank you
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I use BBB with StarterWare. I want to set CONTROL_CONF_GPMC_CSN(0) regeister, but i can't set it
I think i need get into privilege mode at first.
But I don't know how to do?
Write CPSR like this? Or other
asm("MSR CPSR #0xdf");
Thank you
Hi Lali
Thank you very much!
But i have new problem.
I use API CPUSwitchToPrivilegedMode() , it can change the CPSR. But the PC will jump to 0x00020084. And the code which below the
CPUSwitchToPrivilegedMode() will not be execute.
So I feel confuse.
I saw Martin H. has same probelm. But i still don't know how to make it.
Thank you
I use am3358 with StarterWare.
I want get into PrivilegedMode , but when i call CPUSwitchToPrivilegedMode(), the prggram will jump to 0x00020084 and the code belwo it will not be performed.
I have seen the manual
It said that can be use at any point of time. But I found it can not use.
if I can't get into PrivilegedMode then i can't set pin mode.