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/TMS320VC5509A: Setting breakpoints with DSS

Part Number: TMS320VC5509A


Tool/software: Code Composer Studio

I went through http://e2e.ti.com/support/tools/ccs/f/81/t/824001?CCS-TMS570LS0432-How-to-jump-to-the-line-of-the-source-code-using-DSS-API-.

But I am unable to find the address of the line of code at which breakpoint is set.

I am using CCS6.2 and my hardware is DSK5509A developmental kit.

Also when I am trying to create the breakpoint properties and setting the breakpoint, it is setting as a HW breakpoint by default.

Once the breakpoint is set, when I use,

bpProps2.getNumeric("Hardware Configuration.Type.Location");, I get the error "TypeError: Cannot find function getNumeric."

  • Hello,

    Sundar Karthikeyan K said:
    But I am unable to find the address of the line of code at which breakpoint is set.

    Try setting a source line breakpoint instead.

    Sundar Karthikeyan K said:
    Also when I am trying to create the breakpoint properties and setting the breakpoint, it is setting as a HW breakpoint by default.

    What type of memory is the address where you are setting the breakpoint? RAM or flash?

    Thanks

    ki

  • Ki said:
    Try setting a source line breakpoint instead.

    Do you mean to set a breakpoint using debugSession.breakpoint.add?

    Ki said:
    What type of memory is the address where you are setting the breakpoint? RAM or flash?

    The loaded program is in RAM

    Thanks,

    Sundar

  • Sundar Karthikeyan K said:
    Do you mean to set a breakpoint using debugSession.breakpoint.add?

    Yes. By using the file name and source line as parameters

    Sundar Karthikeyan K said:
    The loaded program is in RAM

    Breakpoints should typically default to SW breakpoints for RAM. You must be using breakpoint properties and explicitly specifying a HW breakpoint. Either use breakpoint.add or configure the breakpoint properties to use a SW breakpoint.

    Thanks

    ki

  • Ki,

    I am able to get the address of the line at breakpoint.

    Thanks,

    Sundar Karthikeyan K