Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi,
In my code i have added one loop which doesn't do anything in my task function. like below
void task1fxn()
{
semaphore_pend();
for(j=0;j<25000;j++);
semaphore_post();
}
If my for loop iteration value is 20000 while running code didn't see any issue. But if loop iteration value is 25000 facing below error while running the code
[DSP_0] A0=0x1 A1=0x0
A2=0x0 A3=0x0
A4=0x0 A5=0xffffffff
A6=0x0 A7=0xc3390850
A8=0x0 A9=0x0
A10=0x444 A11=0x14000102
A12=0xc3190408 A13=0x1
A14=0x0 A15=0x0
A16=0x0 A17=0x0
A18=0x1000000 A19=0x7f0000
A20=0x4c A21=0x0
A22=0x8f5c0394 A23=0xcb547e14
A24=0x0 A25=0x0
A26=0xfab5d57f A27=0xcffdbd49
A28=0x0 A29=0x10
A30=0x0 A31=0x1
B0=0x0 B1=0x1
B2=0xc33ae7bc B3=0xc33b9628
B4=0x0 B5=0xc33ae9c0
B6=0x0 B7=0x0
B8=0x0 B9=0x1f40000
B10=0xc3190408 B11=0xc33bad34
B12=0x0 B13=0xf8
B14=0xc33c4320 B15=0xc33c1338
B16=0x0 B17=0x43800000
B18=0xa B19=0x78
B20=0x69 B21=0x19610a40
B22=0xf B23=0x0
B24=0x0 B25=0x0
B26=0x0 B27=0x0
B28=0x0 B29=0x0
B30=0x0 B31=0x1
NTSR=0x1800c
ITSR=0x404
IRP=0x0
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0xc33ae9d0
EFR=0x2 NRP=0xc33ae9d0
Internal exception: IERR=0x9
Instruction fetch exception
Opcode exception
ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0xc33ae9d0, sp = 0xc33c1338.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
can any body help me to resolve this issue? why it misbehaving if i just change the loop iteration value from 20000 to 25000.
I am using CCS version as Version: 5.3.0.00090.