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.

DM8168 McFW terminating execution

Other Parts Discussed in Thread: SYSBIOS

Hi all,

       I am using DVRRDK 3.0 with DM8168EVM.  I added an objection detection algorithm in DSP side of McFW. The codes can be built successfully.

However when I run the codes, the codes could only run the First frame,the second frame,it run dead。

I have track the code step by step  in CCSv5,when it run dead,the Console output is as following:

[C674X_0] A0=0x0 A1=0x0
[C674X_0] A2=0x0 A3=0x1
[C674X_0] A4=0xb0254e80 A5=0x0
[C674X_0] A6=0x162 A7=0x0
[C674X_0] A8=0x9f191f24 A9=0x0
[C674X_0] A10=0xb463d0b0 A11=0xb4000000
[C674X_0] A12=0xb447a180 A13=0x9ffbfe18
[C674X_0] A14=0x0 A15=0x7843
[C674X_0] A16=0xb0001004 A17=0x0
[C674X_0] A18=0xfffe763a A19=0xffffffff
[C674X_0] A20=0xff A21=0xb4012abe
[C674X_0] A22=0x4000 A23=0xb463d101
[C674X_0] A24=0xfffe8000 A25=0xb463d100
[C674X_0] A26=0x9 A27=0x9
[C674X_0] A28=0x0 A29=0xc000
[C674X_0] A30=0xb0254ea0 A31=0xb0254e48
[C674X_0] B0=0x1d020100 B1=0x66a0010
[C674X_0] B2=0x0 B3=0x1
[C674X_0] B4=0x1d060300 B5=0x9ffb81fc
[C674X_0] B6=0x66a0010 B7=0x9ffb818c
[C674X_0] B8=0x13e B9=0x1
[C674X_0] B10=0xb4012c00 B11=0x9ffbfe18
[C674X_0] B12=0xb463ca18 B13=0x0
[C674X_0] B14=0x9ffbfc4c B15=0x9f251020
[C674X_0] B16=0x8a010e B17=0x0
[C674X_0] B18=0x1 B19=0xff
[C674X_0] B20=0x0 B21=0x12abe
[C674X_0] B22=0x13f B23=0xee
[C674X_0] B24=0x1 B25=0x0
[C674X_0] B26=0x1 B27=0xffffff80
[C674X_0] B28=0xffffff80 B29=0x13f
[C674X_0] B30=0x0 B31=0x9f251020
[C674X_0] NTSR=0x1020f
[C674X_0] ITSR=0x20d
[C674X_0] IRP=0x9f1891d4
[C674X_0] SSR=0x0
[C674X_0] AMR=0x0
[C674X_0] RILC=0x0
[C674X_0] ILC=0x0
[C674X_0] Exception at 0x0
[C674X_0] EFR=0x2 NRP=0x0
[C674X_0] Internal exception: IERR=0x1
[C674X_0] Instruction fetch exception
[C674X_0] ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x9f1891d4, sp = 0x9f251020.
[C674X_0] To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
[C674X_0] xdc.runtime.Error.raise: terminating execution

I do not know what reason ? Could you give me some suggestion?It is a Memory problems??or something else?

Thanks.

JQ Zhao

  • Exception occurs due to invalid opcode execution.The PC value is 0x9f1891d4.Check if this address has valid .text section. If it is valid .text section check if this address is getting corrupted when executing your algorithm by putting a h/w breakpoint. Also B3 is the return address and this is a junk value like 0x1. This may not be a real issue or it may be an issue with jump to NULL address that is causing the exception