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.

How to run my program .out in Privileged mode from CCS V5?

I am using CCS V5.0.2 on a DM814x board.

CCS loads and runs my program in "user mode" initially with IRQ disabled. But I need to enable IRQ, which can only be changed through CPSR irq enabled bit when ARM is in Privileged mode. How do I ask CCS to load and run my program in Privileged mode, or if this is not possible, how do I switch from "user mode" to "priviledged mode"?

 

Thanks,

Philip