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/TMS320F28377D: TI's routine, C28X program has been stuck in Cla1ForceTask1andWait() (MIRUN has been 1)

Part Number: TMS320F28377D
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Using TI's example, "ti\controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Cpu1\cla_sqrt", set to flash mode, after program and load symble, step-by-step debugging with __mdebugstop() in CLA is fine; remove _mdebugstop ( ), in the C28X program after the setting of a breakpoint in the Cla1ForceTask1andWait (), has not been run to the breakpoint, which is what caused it?
Trouble help to answer, thank you
  • Please use the C2000Ware Software Release Package.

    The example is working properly when I execute it.

    The Cla1ForceTask1andWait() will force CLA Task 1 and wait or block until it is completed. If you are connected to the CLA and it it halts at the MDEBUGSTOP, then the C28x will wait until the task completes and executes the MSTOP instruction at the end of the task.

    If you have the CLA halted, you need to run it to the end of the task, then the C28x will proceed.

    If you do not connect the CLA then the C28x will get past this point because the CLA will never be halted.

    Hope this helps.

    sal
  • Find the problem, thank you