TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F280039C: CLA Task1 无法单步运行debug且起始地址不匹配,已添加__mdebugstop(); 而且Task1中断能正常运行

Part Number:TMS320F280039C

你好,

CLA中断无法单步运行debug,而且其起始地址为0x00,并不是我在cmd文件中定义的0x9000

同时还会存在如下报错

CLA1_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 12.7.0.00130)

但通过在TASK1中断中增加IO判断,发现cla TASK1在正常运行。

还麻烦解答一下,谢谢。

Vivian Gao:

您好

我们为您做了进一步咨询,请等待这个帖子的回复。

(3) TMS320F280039C: CLA Task1 cannot debug in one step and the starting address does not match – C2000 microcontrollers forum – C2000Tm︎ microcontrollers – TI E2E support forums

,

Vivian Gao:

您好

确认一下这个过程

Launch target configuration

both cores should be disconnected

"Connect Target" for the c28x

c28x will be suspended  
It may throw an error about not having the debug information at this point, that can be ignored

Load the .out file onto the c28x (Run >> Load >> Load Program >> [navigate to the .out file])

c28x will be suspended still

"Connect Target" for the CLA

both cores will be suspended

Load the .out symbols onto the CLA (Run >> Load >> Load symbols >> [navigate to the .out file])
Switch context to the c28x (click on it in the debug window) and Resume
Switch context back to the CLA and you should see it stop at the __mdebugstop();

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280039C: CLA Task1 无法单步运行debug且起始地址不匹配,已添加__mdebugstop(); 而且Task1中断能正常运行
分享到: 更多 (0)