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

instaspin-foc

Other Parts Discussed in Thread:TMS320F28027, TMS320F28027F

使用官方的LauchPad  TMS320F28027P开发板 加 Bootxstl DRV8305EVM 学习INSTASPIN-FOC,但是用CCS10编译 proj_lab05b,并且下载程序到LauchPad  TMS320F28027P上,点击了时钟那个图标,并且点击运行,然后加载了proj_lab05b.js脚本文件, 在进行实时调试的时候无法进行。

C28xx: Trouble Writing Memory Block at 0xc0 on Page 1 of Length 0x1: (Error -1041 @ 0x800) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.3.0.00042)C28xx: Trouble Reading Register PC: (Error -1140 @ 0x0) Lost debug connection to device. 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 9.3.0.00042)C28xx: Trouble Reading Register ST1: (Error -1156 @ 0x800) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 9.3.0.00042)C28xx: 1 other operation(s) were automatically canceled as a result

Green Deng:

报错提示似乎是程序没有下载进去,可以试一下重新load symbol一下。
另外,你的程序有修改过吗?之前有正常烧写运行过吗?因为我在CCS上运行其他lab似乎并没有类似报错

,

user4478699:

没有修改过程序,按照文档导入工程和编译,

今天发现一个问题,昨天没看到,应该是编译没有通过?

但是我昨天看的是只有一个警告,警告的内容是我使用的是CCS10,示例工程使用的是CCS6.

但是我编译第二次好像就没有以下这个报错?

Description Resource Path Location TypeFunction '__IQmpy' could not be resolved proj_lab05b.c /proj_lab05b line 385 Semantic Error

,

user4478699:

这个IQmathLib.h 也包含了呀

是不是我的CCS版本不支持TMS320F28027F,在选择目标型号的时候只看到有TMS320F28027,没有看到带F的TMS320F28027F。

,

Green Deng:

如果报error的话理论上无法load工程的。另外CCS10的话肯定也是适用F28027F的,除非你安装的时候没有选择C2000产品,但是按照你说的可以看到F28027的话应该这点也可以排除。
关于这个报错,你看一下这个帖子的回复是否有所帮助:e2e.ti.com/…/ccs-tms320f28069f-function-__iqmpy-could-not-be-reosolved

赞(0)
未经允许不得转载:TI中文支持网 » instaspin-foc
分享到: 更多 (0)