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/IWR1443BOOST: Problems while Debugging

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: UNIFLASH, IWR1443

Tool/software: Code Composer Studio

Hi!!

I am working on mmw_mss_14xx demo code i obtained from Resource explorer in Code Composer Studio v7.4. I am using SDK 1.1.0.2. When I start the debug session, I get the following message on Console

[Cortex_R4_0] Exception occurred in ThreadType_Main.
Main handle: 0x0.
Main stack base: 0x800bad0.
Main stack size: 0x4b0.
R0 = 0x00000000 R8 = 0x0001754c
R1 = 0x00000000 R9 = 0x00014718
R2 = 0x00000000 R10 = 0x000000d1
R3 = 0x08008a74 R11 = 0xffffffff
R4 = 0x00009f8c R12 = 0x0001616d
R5 = 0x0800b2ca SP(R13) = 0x080092f0
R6 = 0x00000003 LR(R14) = 0x0001754c
R7 = 0x08008aac PC(R15) = 0x00014718
PSR = 0x400c019f
DFSR = 0x00000000 IFSR = 0x00000000
DFAR = 0x00000000 IFAR = 0x00000000
{module#40}: line 209: error {id:0x190000, args:[0x14718, 0x1754c]}
xdc.runtime.Error.raise: terminating execution

 

The code compiles and builds without any errors and warnings. I have loaded the code on the IWR1443BOOST board using Uniflash. Then I start the debug from the IWR1443.ccxml file.

As mentioned in other posts, i have tried debugging after resetting the board. But i recieve the same message over and over. What is wrong? Can somebody also explain what exactly is the meaning of this error.

 

Thanks,

Neha

  • Hello Neha,
    Could you please add more info?
    1. At what event you see this issue?
    2. Have you done any modification in the application?34. Are you trying to halt MSS after it started executing? In that case, it may go into ASSERT and execution will terminate.

    With SDK 1.1 you need to import demo application from mmWave training v1.6.1 of Resource Explorer.


    Regards,
    Jitendra
  • Hi Jitendra!
    1. Every time i try to debug the code I see the issue.
    2. No i didn't modify the code. I am just trying to debug the original code.

    Also in future i intend to stop the sensor when it is done calculating one FFT . Do you recommend against this?
    I have to start sensor, send one chirp signal, calculate 1D FFT and stop the sensor. How do you suggest me to do this?

    Thanks and Regards,
    Neha
  • Hello

    I have the exact same problem.
    When start running the debug session with the IWR1443.ccxml file, the message on the console comes immediately, before pressing the Resume button (for running the code).

    SDK v1.1.0.2

    I use the CCS v7.4.0

    Uniflash v4.2.2

    And the ARM Compiler 16.9.6.LTS

    And the Chip 964D = ES2.0  (line 4 of the device marking)

    Connecting the UART Port to the teraterm has also no effect. (refering to https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1023/capture_5F00_demo.pdf).

    Please help us.


    Thanks,
    Rainer

  • Hi Rainer!
    There seems to be some issue with the CCS setup. Because in my computer i had the above mentioned issue but when i debug the code from another computer, the same code that gave error in my machine was properly debugging in another machine. I would suggest you to try it on another computer. The code is perfectly fine..no issue with the code.
    Also i would love to know if you have any findings on the issue. I did not really understand why the code won't debug on my machine. I had reinstalled CCS also fixed the broken packages if any (there were none related to CCS though)

    Best Wishes,
    Neha
  • Hi Rainer,

    Can you confirm that you have Flashed xwr14xx_ccsdebug_mss.bin using Uniflash. If you have flashed, application binary it would start executing as soon as it is out of reset. Refer to section 3.2.2 and see if you have followed the steps mentioned there.

    Regards,
    Kaushal