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.

TMS320F28379D: Hardware Breakpoints vs. Software Breakpoints / CLA

Part Number: TMS320F28379D

Hello,
I´m new at the TMS320F28379D.

What is the difference between hardware and software breakpoints? I have found out that software breakpoints are not accepted when the code in running from the flash.

How man hardware breakpoints are possible?

The TMS320F28379D has two CLA´s from type 1.
Is there a document available with the CLA assembly Instructions?

What is the difference to CLA type 0 and type 2?


Best regards

Ralf

  • Ralf Bartling said:
    What is the difference between hardware and software breakpoints? I have found out that software breakpoints are not accepted when the code in running from the flash.

    A software breakpoint is an assembly instruction (ESTOP0).  Code Composer Studio will insert this instruction into the code, run to the ESTOP0 instruction, and then put back the original instruction.  This all happens automatically.  Because memory is modified it has to be in volatile memory.

    A hardware breakpoint is implemented in silicon.  The bus is monitored for the address of the instruction and the pipeline is halted. 

    Ralf Bartling said:
    How man hardware breakpoints are possible?

    On this device there are two hardware breakpoints available.  On newer devices with the ERAD module, more hardware breakpoints are available.

    Ralf Bartling said:
    Is there a document available with the CLA assembly Instructions?

    The CLA instructions are documented in the device's Technical Reference Manual (TRM)

    Ralf Bartling said:
    What is the difference to CLA type 0 and type 2?

    C2000 Real-Time Control Peripherals Reference Guide: A high-level description of CLA feature differences per CLA Type (i.e. CLA Type 0, CLA Type 1...) and which device family includes each Type. 

    Also see other CLA resources and FAQs here:

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/786227?-FAQ-CLA-Frequently-Asked-Questions

    Regards

    Lori