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.

CCS/TDA3XEVM: Debug Issue due to E_usageFault: NOCP: Attempting to use co-processor

Part Number: TDA3XEVM
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am using PROCESSOR_SDK_RADAR_03_02_00_00 on TDA3x EVM. I am trying to debug default usecase Null Source (SD/Network) Input + Radar FFT (EVE1) + Null (SD/Network). But while debugging chain creation code on IPU1_C0. I am always facing issue due to hard fault.

CCS Version: 7.1.0.00016 

IPU1-0 Remote Log Shared Memory @ 0xa7f000a0
IPU1-1 Remote Log Shared Memory @ 0xa7f0e8a0
HOST Remote Log Shared Memory @ 0xa7f110a0
DSP1 Remote Log Shared Memory @ 0xa7f160a0
DSP2 Remote Log Shared Memory @ 0xa7f188a0
EVE1 Remote Log Shared Memory @ 0xa7f1b0a0
EVE2 Remote Log Shared Memory @ 0xa7f1d8a0
EVE3 Remote Log Shared Memory @ 0xa7f200a0
EVE4 Remote Log Shared Memory @ 0xa7f228a0
IPU2 Remote Log Shared Memory @ 0xa7f250a0
SYSTEM: UART: INTERRUPT Mode is Selected
ti.sysbios.family.arm.m3.Hwi: line 1105: ti.sysbios.family.arm.m3.Hwi: line 1105: E_hardFault: FORCED
ti.sysbios.family.arm.m3.Hwi: line 1217: ti.sysbios.family.arm.m3.Hwi: line 1217: E_usageFault: NOCP: Attempting to use co-processor
Exception occurred in background thread at PC = 0x80d2bb80.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x82075f48.
Task stack base: 0x81f54b40.
Task stack size: 0x4000.
R0 = 0x00000000 R8 = 0x00000000
R1 = 0x10000000 R9 = 0x016371d8
R2 = 0x00000000 R10 = 0x8207bb08
R3 = 0x82076088 R11 = 0xffffffff
R4 = 0x00000000 R12 = 0x1b0b0200
R5 = 0x80c9402c SP(R13) = 0x81f58aa8
R6 = 0xffffffff LR(R14) = 0x80d1b82d
R7 = 0xffffffff PC(R15) = 0x80d2bb80
PSR = 0x61000000
ICSR = 0x1040e803
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0008
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Unhandled Exception:
Exception occurred in ThreadType_Taskhandle: 0x82075f48.
stack base: 0x81f54b40.
R0 = 0x00000000 R8 = 0x00000000
R1 = 0x10000000 R9 = 0x016371d8
R2 = 0x00000000 R10 = 0x8207bb08
R3 = 0x82076088 R11 = 0xffffffff
R4 = 0x00000000 R12 = 0x1b0b0200
R5 = 0x80c9402c SP(R13) = 0x81f58aa8
R6 = 0xffffffff LR(R14) = 0x80d1b82d
R7 = 0xffffffff PC(R15) = 0x80d2bb80
PSR = 0x61000000
ICSR = 0x1040e803
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0008
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating Execution...Terminating execution...

Thanks,

Darshan

  • Hi Darshan,

    Are you trying to perform a step over some function in the IPU when you face this issue? There is an issue with the step over function across a function which can potentially be interrupted with a HWI. During the HWI handler there is a literal pool which is considered as an op code and M4 tries to execute it. This causes this exception.

    You can work around this by placing a break point and then running to the breakpoint (F8).

    Thanks and Regards,
    Piyali