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.

AWR1843BOOST: Facing error while running debugging.

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: UNIFLASH, SYSBIOS

Hello team,

I my using AWR1843Boost EVM for my project and i used ( out of box demo) code for that with some modification. i want to debug my code

For debugging i follow the step which is mention in this link (https://dev.ti.com/tirex/explore/node?a=1AslXXD__1.00.00.26&node=A__AKZl2I1OiS5ssBNGpidsCQ__radar_toolbox__1AslXXD__1.00.00.26) the link is for using CCS debug.

1. Using uniflash, I flash the xwr18xx_ccsdebug.bin which is available in SDk/package/ti/utils/ccsdebug.

2. I change the mode of EVM to debugging mode and then perform debugging in CCS IDE as per step which is mention in (Using CCS debug)

But debugging was stop at the middle. For identify that, I preform debugging line by line with (step into function) in CCS.

I mention the picture where the debugging was stop with explanation

After going inside the ti_sysbios_utils_Load_startup() at line 2680 in picture 1. code was continuously debugging upto Bits32 Timestamp_get32(Void) at line 23 in picture 2.

While  return (Timestamp_SupportProxy_get32() at line 25 in picture 2. Code was directly goes to void abort(void) function at line 127 in picture 3 and debugging was stop. 

picture 1.

picture 2.

picture 3

Help me to resolve this Debugging issues.

Regards

Miit prajapati. 

  • Hi,

    You have the correct steps to use CCS.

    However since this is a real time demo you have to be careful how you debug the code.

    First we recommend to set the frame count =1 in the frameCfg command in the profile. Since there is only 1 frame you will not get the following frame interrrupt after you set a breakpoint.

    Thank you

    Cesar

  • Hello Cesar,

    Thanks for replying.

    As you say i set frame count = 1 in framecfg, it is working. but in realtime frame count should be more then one.

    I want to debug the code with my configuration which i set, like if i set the frame count = 100. code will debug..?

    Regards.

    Miit prajapati.

  • Hi Miit, 

    If you have set your frame count >1, the problem that arises is that in CCS while you are at your breakpoint, the front end of the radar is still chirping and changing the values in the registers. It is advised you keep frame count = 1 when debugging