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.

AWR6843AOPEVM: Debugging in CCS

Part Number: AWR6843AOPEVM
Other Parts Discussed in Thread: MMWAVEICBOOST, AWR6843

Hi,

   To understand the code from out of the box demo provided in Radar toolbox 1.0.26, i wanted to debug or single step the code (My setup involved AOP6843AOP + MMWAVEICBOOST).

Hence i tried building the out of box demo in O0 optimization and tried putting breakpoints. But i am unable to hit breakpoints.

Does this debugging need whole SDK to be rebuilt in O0 mode? 

Any good pointers on how to debug the AWR6843 (R4 and C67x cores)?

Please share your knowledge.

  • Hi Vinay, 

    Deepest apologies for the delayed response. In order to utilize debug mode (i.e. break points, stepping through code, etc.), flashing the ccsdebug image onto the device is required. There is a guide available HERE. This guide will walk you through flashing the ccsdebug image as well as how to load the compiled project you are working on.

    Also, we do in fact recommend compiling your project with no optimization as you are doing. No issues there. You can however, choose only to compile specific files with no optimization, specifically the files you wish to step through. 

    Best Regards,
    Kevin 

  • Thanks, Kevin, for your reply.

    Sorry for my late response. I intended to ask how do i put breakpoint since the codes are RTOS based and only O0 optimization of project may not suffice, so wanted to check whether i need to rebuild mmwavesdk with O0 optimization?

    Asking this question, as the code does not stop at intended breakpoint even though i compile with O0 optimization.