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: The CNTL_2P2Z file cannot set breakpoints or single-step simulation

Tool/software: Code Composer Studio

Hi,

The CNTL_2P2Z file cannot set breakpoints or single-step simulation.As shown in the picture below:

But in the Solar_DC_DC-DPL-ISR.asm file, a breakpoint can be set at the "CNTL_2P2Z_INIT 1" function.As shown in the picture below:

"CNTL_2P2Z_INIT 1" function can be executed, but why can't you step into the function?My CCS version is 9.3.0.00012.

The project file is HV_Solar_DC_DC,TMS28035.

Looking forward to your reply, thank you!

  • Hello,

    It looks like the source code correlation with the CNTL_2P2Z file you have opened in the editor and the information in the debug symbols does not match. There are many potential causes for this.  

    To debug this issue, I would recommend first using the Modules view to browse the loaded symbols. See if the CNTL_2P2Z file appears in the list of source files in the Modules view. If it does, see what path it has for it and if it matches the path for the file you have open

    http://dev.ti.com/tirex/explore/node?node=APVIzRhtpuf-7AMAb9iu3w__FUz-xrs__LATEST

    Thanks

    ki

  • Hi,

    Thank you for your help.As shown in the picture below:

    Why is there no CNTL_2P2Z.asm file in position 1 in the picture above?If it is caused by this reason, how can I change to add related files?

  • regarding:

    What the above shows is the include file search path. The compiler will search in these paths looking for header files. Any source files in those paths are not automatically part of the project. The source file needs to appear in the list of files/folders below these paths.

    The modules view indicates that the CNTL_2P2Z asm file is not part of the loaded debug symbols. This is why you are unable to source step through that asm file. Assuming that the file is part of the code, perhaps it is coming from a release library where symbols for the library have been stripped out? Hard to say without seeing the actual project. In any case, the CNTL_2P2Z asm file is not part of the loaded debug symbols.

    Thanks

    ki