Hello,
I am using CC3200 launchpad and TI RTOS Simplelink V 2.00.02.36. I have created 5 tasks statically. Among these 5 tasks 4 tasks have priority of 2 and other one has 3. All these tasks are running pretty well before I have introduced swi into my program. I have created swi dynamically as per below..
Swi_Handle swi0; Swi_Params swiParams; Swi_Params_init(&swiParams); swiParams.priority = 2; swiParams.trigger = 0; swi0 = Swi_create(swi0Fxn, &swiParams, NULL);
Program run very well until one of task post swi. Swi routine also get executed without any error but after execution of swi routine get finished program exits abruptly at loader_exit() in exit.c and prints following data in console.
se: 0x20015dec.
Hwi stack size: 0x400.
R0 = 0x00000000 R8 = 0x00000020
R1 = 0x00000000 R9 = 0x200156fa
R2 = 0x20015c44 R10 = 0x200156a4
R3 = 0x80f44f47 R11 = 0x200156a0
R4 = 0x0000a0df R12 = 0x2000c8ee
R5 = 0x0000a0e7 SP(R13) = 0x20016170
R6 = 0x00000004 LR(R14) = 0x2000e38f
R7 = 0x00000000 PC(R15) = 0x200101dc
PSR = 0x01000015
ICSR = 0x0400f003
MMFSR = 0x00
BFSR = 0x04
UFSR = 0x0000
HFSR = 0x40000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
I think I'm missing something. What are probable reasons to cause this issue?
Edit : Uploaded config script of project. 4034.tcpEchoCC3200.cfg
Thanks,
Niral