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

无法连接

LAUNCHXL-F28069M 控制板卡和TIDA00364逆变板卡再测试Labs1b实验时,出现如下错误:

测试步骤:未接电机、控制板与逆变板分别上电源、启动lab,编译和debug程序labs1b

。启用实时调试器。 。。。将出现一个对话框,选择“是”。

。点击运行按钮。

出现错误,如下:

C28xx: Realtime was not enabled: (Error -1041 @ 0x6) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.2.0.00002)C28xx: Error enabling realtime mode: (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 9.2.0.00002)C28xx: 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 9.2.0.00002)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.2.0.00002)C28xx: Trouble Reading Register RPC: (Error -1137 @ 0x13) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.2.0.00002)

我先测试miniUSB 给F28069M板卡供电,再.ccxml文件中进行test connection是succeed,检查F28069M的电源也正常,无短路,低电压等状况,这种情况下我应该怎么做才能使它正常调试Labs例程呢?

期待您的回答,谢谢

Susan Yang:

关于lab1b的调试,您可以在motorware的文件夹内找到对应的文档

C:\ti\motorware\motorware_1_01_00_18\docs\labs\instaspin_labs.pdf

的第26页 Lab 1b Open loop control for hardware integrity

yingying fu:

您好,我想问一下,除了确认板卡电源供电没问题外,还需要确认哪些方面的问题,怎么解决无法使用实时调试这个问题?
期待您的回复,谢谢

yingying fu:

回复 yingying fu:

您好Susan,

我就是根据此文档调试的C:\ti\motorware\motorware_1_01_00_18\docs\labs\instaspin_labs.pdf
现在是调试中遇到无法使用实时调试模式,debug程序Labs1b 后,根据此文档中的步骤,启用实时调试模式,点击yes后,再点击resume按钮,就会报错上面的信息,我的这个问题如何解决呢?
期待您的回复,谢谢

Susan Yang:

回复 yingying fu:

可以不接电机的。关于您的报错,请您看一下下面的链接,给出了该错误可能出现的原因和解决办法

software-dl.ti.com/…/ccsv7_debugging_jtag_connectivity_issues.html

software-dl.ti.com/…/ccsv7_debugging_jtag_connectivity_issues.html

yingying fu:

回复 Susan Yang:

你好Susan,

我的板卡现在测试出现的问题是:

 Trouble Reading Register PC: (Error -1142 @ 0x0)  Device blocked debug access because it is currently executing non-debuggable code.    Choose 'Rude Retry' to disable polite mode and force the operation.

我在您给我的链接中找到这段话:

Device blocked

This error means the device is free running and the JTAG debugger lost control of its core and status. Both a disconnect and power cycle will be required, but there is a possibility the running firmware on the device may be preventing the JTAG debugger from properly connecting (if the device has flash memory). In these cases, consult the documentation of your device to find out how to unlock it.

其中最后的解决方法是查阅文档解锁它,我应该再哪找到文档来解锁呢?

期待您的回复,谢谢

Susan Yang:

回复 yingying fu:

请确认下面的选项和图示保持一致

yingying fu:

回复 Susan Yang:

您好Susan,我的配置是和您的一样的,如下

yingying fu:

回复 yingying fu:

上述配置是一样的,还有需要配置的吗?

Susan Yang:

回复 yingying fu:

我使用该配置是可以正常使用实时模式的,当勾选第2个选项后,就会复现您的错误

目前没有其他的配置

或者您可以贴一下您现在launchpad的配置照片,看是否有区别

您不使用实时模式的时候是否能正常烧录?

另外建议您使用uniflash看是否正常连接烧录

yingying fu:

回复 Susan Yang:

您好Susan,

我使用CCS加载controlSUITE中的F2806x的example-2806xLEDBlink例程,能够烧录进芯片;

同样的,使用uniflash加载上面的例程,烧录正常;

就只是再实时模式下加载出错,

下面是我的配置,您看看是否有出错的地方(这块板卡第一次可以进行实时模式进行调试,再次调试就出现这个情况了,我不知道是什么原因导致它出现这个错误的)

赞(1)
未经允许不得转载:TI中文支持网 » 无法连接
分享到: 更多 (0)