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/IWR6843: CCS/IWR6843 How to debug error messages?

Part Number: IWR6843
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I'm trying to modify the IWR6843 People Counting to project so that it has a hard-coded configuration by starting instead of sending over CLI. When running the code I got the following errors however I do not know how to understand the error messages and where to look for errors.

Could you please tell me how should I understand the error messages and where to look for it.

[Cortex_R4_0] Exception occurred in ThreadType_Task.
Task handle: 0x8002058.
Task stack base: 0x80020b8.
Task stack size: 0x1000.
R0 = 0xd1044307  R8  = 0xffffffff
R1 = 0x00000018  R9  = 0xffffffff
R2 = 0x00000090  R10 = 0xffffffff
R3 = 0x00000000  R11 = 0xffffffff
R4 = 0xffffffff  R12 = 0x17650300
R5 = 0xffffffff  SP(R13) = 0x08002fd0
R6 = 0xffffffff  LR(R14) = 0x0000f423
R7 = 0xffffffff  PC(R15) = 0x00002538
PSR = 0x600c019f
DFSR = 0x00000001  IFSR = 0x00000000
DFAR = 0xd104430b  IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x00002538, lr = 0x0000f423.
xdc.runtime.Error.raise: terminating execution

Thanks very much.

Bien

  • Hi Bien,

    Would you be able to point out where in the c code that this error is triggered?

    Regards,

    AG

  • Hi Akash,

    that's exactly the point that I want to ask. How do i find out from those error messages where the errors in c code are ?

    Since right now I do not know how to analyze the error messages to find out the position of problems in c code.

    Thanks very much,

    Bien

  • Hi Bien,

    Usually we see these errors on their own when there is an issue with the procedure to run in debug. Please make sure the board is flashed with the debug software and ensure that the device is properly reset before loading and running the firmware.

    Generally we expect that there will be an error message before the task exception print out. Can you share the whole console log when this error occurs?

    Regards,

    Justin