Hello
We have built an application to switch on LED DM8148 EVM board. The application works fine using CCS & GEL file. We are now try to build same application without GEL file in CCS so we can build same in TI EZSDK . So the initialisations in GEL file need to be converted into C file. We converted the GEL file code to c file code but some initialisastions need processor to be in supervisor mode. For switching to supervisor mode we used following code as specified in link e2e.ti.com/.../256582
void INT_SetSupervisor(void){
asm(" MOV R12,LR ");
asm(" SWI #0xFA ");
asm(" MOV LR,R12 ");
asm(" BX LR ");
//asm("")
}
Can anyone tell me what step am I missing in switching to supervisor mode?
Most importantly I need to build my application using EZSDK (I am using version
ti-ezsdk_dm814x-evm_5_05_02_00) So I need to know steps to do initialisation in EZSDK which is done through GEL file in CCS.
Regards,
Manish Kesarkar