Other Parts Discussed in Thread: AM3359
Hi, I'm trying to analysis code for 'ecat_appl', a full feature EtherCAT application on AM3359 ICE board. (you can see here about this app)
When I run this app by debugging mode on CCS v5.2, everything works well until 'task1' is created.
But, in 'task1', 'bsp_set_pru_firmware((Uint32*)FrameProc,sizeof(FrameProc),(Uint32*)HostProc,sizeof(HostProc))' at line 165, makes error every time.
I tried to step over, but the error below is printed :
[CortxA8] = 0x00000000 PC(R15) = 0x8001c18c
PSR = 0x2000019f
Exception occurred in ThreadType_Main.
Main handle: 0x0.
M[CortxA8] ain stack base: 0x80035524.
Main stack size: 0x2000.
R0 = 0xffffffff R8 = 0x8001ac19
R1 = 0x8001ac18 R9 = 0x00000001
R2 = 0x00007fff R10 = 0x00000001
R3 = 0x0000000a R11 = 0x80023028
R4 = 0x00000000 R12 = 0x0000134f
R5 = 0x00000000 SP(R13) = 0x8002[CortxA8] 2fc8
R6 = 0x00007fff LR(R14) = 0x8000e9e8
R7 = 0x00000000 PC(R15) = 0x8001c18c
PSR = 0x2000019f
xdc.runtime.Error.raise: terminating execution
What should I do?