微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > CC3200调试显示Error connecting to target

CC3200调试显示Error connecting to target

时间:10-02 整理:3721RD 点击:

如附件图,我有时候调试一次是成功的,第二次就会出现这个错误

然后反复插拔开发板好几次才能再调试一次,然后第二次又失败

我找过英文论坛有人说用LM Flash Programmer

试过按操作Unlock debug port,也是不行的!

请问这个问题要如何解决

我的版本:

Analysis Suite 4.0.0.201407021231 com.ti.dvt2.analysis.suite.feature.group Texas Instruments
ARM Compiler Tools 5.1.9 com.ti.cgt.tms470.5.1.win32.feature.group Texas Instruments
C/C++ Development Tools 8.2.1.201309180223 org.eclipse.cdt.feature.group Eclipse CDT
C/C++ GCC Cross Compiler Support 1.2.0.201309180223 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT
C/C++ Memory View Enhancements 2.2.0.201309180223 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT
C/C++ Remote Launch 6.2.0.201309180223 org.eclipse.cdt.launch.remote.feature.group Eclipse CDT
CC3200 Device Support 1.0.0.4 com.ti.ccstudio.cc3200.devicesupport.win32.feature.group Texas Instruments
CCS and SAT Common Components Feature 6.0.1.201406261800 com.ti.tools.common.feature.group Texas Instruments
CCS Documentation 6.0.0.20140715 com.ti.ccstudio.doc.win32.feature.group Texas Instruments
CCS Launcher 6.0.0.20140528 com.ti.ccstudio.launcher.win32.feature.group Texas Instruments
CCS Utilities 1.0.0.20140314 com.ti.ccstudio.utils.cli.win32.feature.group Texas Instruments
CCStudio p2 Tool Feature 6.0.0.201403261708 com.ti.ccstudio.p2tool.feature.group Texas Instruments
Chromium Browser Feature 6.0.1.201406261800 com.ti.chromium.browser.feature.group Texas Instruments
Code Composer Studio Base Components 6.0.0.00698 com.ti.ccstudio.base.feature.group Texas Instruments
Code Composer Studio IDE ARM Components 5.3.0.201406261800 com.ti.ccstudio.tms470.feature.group Texas Instruments
Code Composer Studio IDE Main Feature 6.0.1.201406261800 com.ti.ccstudio.idemain.feature.group Texas Instruments
Code Composer Studio IDE Workflow 6.0.1.201406261800 com.ti.ccstudio.workflow.feature.group Texas Instruments
Compiler Tools On-line Documentation 1.1.4 com.ti.cgt.dmed.win32.feature.group Texas Instruments
Debug Server 6.0.0.698 com.ti.ccstudio.debugserver.win32.feature.group Texas Instruments
DebugServer Flash 6.0.0.766 com.ti.dsflash.win32.feature.group Texas Instruments
DVT - Graph Visualization 4.0.0.201407021231 com.ti.dvt2.graph.visualization.feature.group Texas Instruments
DVT - Profiler Analysis Manager 4.0.0.201407021231 com.ti.dvt2.profileanalysismanager.feature.group Texas Instruments
DVT - System Analyzer 4.0.0.201407021231 com.ti.dvt2.uia.feature.group Texas Instruments
DVT - Trace Control 4.0.0.201407021231 com.ti.dvt2.trace.control.feature.group Texas Instruments
Eclipse Git Team Provider 3.0.3.201309161630-r org.eclipse.egit.feature.group Eclipse EGit
Eclipse Help System 2.0.1.v20130911-1000 org.eclipse.help.feature.group Eclipse.org
Eclipse Platform 4.3.1.M20130911-1000 org.eclipse.platform.ide null
Equinox p2 Discovery 1.0.100.v20130502-0334 org.eclipse.equinox.p2.discovery.feature.feature.group Eclipse.org - Equinox
Equinox p2 Provisioning for IDEs. 2.2.0.v20130828-0031 org.eclipse.equinox.p2.user.ui.feature.group Eclipse.org - Equinox
Graphical Modeling Framework (GMF) Runtime 1.7.0.201306111432 org.eclipse.gmf.feature.group Eclipse Modeling Project
GUI Composer Backplane Feature 6.0.0.201406261800 com.ti.gc.backplane.feature.group Texas Instruments
GUI Composer Feature 6.0.0.201404071800 com.ti.gc.common.feature.group Texas Instruments
GUI Composer for CCS 1.0.0.201404071800 com.ti.ccstudio.gui.composer.ccs.feature.group Texas Instruments
GUI Composer Program Model Feature 6.0.0.201406261800 com.ti.gc.pm.feature.group Texas Instruments
IDE - Debug Server Integration Feature 6.0.1.201406261800 com.ti.debug.server.feature.group Texas Instruments
Image Analyzer 4.0.0.201407021231 com.ti.dvt2.via.ccs.feature.group Texas Instruments
LWInstaller 6.0.1.00040 com.ti.ccstudio.installer.win32.feature.group Texas Instruments
Marketplace Client 1.2.1.I20130917-2019 org.eclipse.epp.mpc.feature.group Eclipse Packaging Project
p2appf 6.0.1.201406261800 com.ti.ccstudio.p2appf.feature.group Texas Instruments
Remote System Explorer End-User Runtime 3.5.0.201309112143 org.eclipse.rse.feature.group Eclipse TM Project
ROV 4.0.0.201407021231 com.ti.dvt2.rov.feature.group Texas Instruments
RTSC/XDCtools (IDE Client) 3.30.5.60 org.eclipse.rtsc.xdctools.product.ui.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.30.5.60 org.eclipse.rtsc.xdctools.product_3.30.5.60.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.30.3.47 org.eclipse.rtsc.xdctools.product_3.30.3.47.feature.group Texas Instruments
RXTX End-User Runtime 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf gnu.io.rxtx.feature.group RXTX.org
Target Management Terminal 3.3.100.201308290741 org.eclipse.tm.terminal.sdk.feature.group Eclipse TM Project
TargetDB Default Props 6.0.0.20131206 com.ti.ccstudio.targetdb.props.default.win32.feature.group Texas Instruments
TI ARM Compiler 5.1 Help 5.1.0.201306281501 com.ti.cgt.arm.5.1.help.feature.group Texas Instruments
TI Emulators 5.1.636.0 com.ti.emulation.pack.win32.feature.group Texas Instruments
TI Target Content 1.0.0.201411041826 com.ti.targetcontent.feature.group Texas Instruments
TI-RTOS for SimpleLink Wireless MCUs (IDE Client) 2.1.0.03 com.ti.rtsc.TIRTOSsimplelink.product.ui.feature.group Texas Instruments
TI-RTOS for SimpleLink Wireless MCUs (Target Content) 2.1.0.03 com.ti.rtsc.TIRTOSsimplelink.product_2.1.0.03.feature.group Texas Instruments
TI-RTOS for SimpleLink Wireless MCUs (Target Content) 2.1.0.03 com.ti.rtsc.TIRTOSsimplelink.product.feature.group Texas Instruments
Tiva/Stellaris ICDI Debug Probe 2.0.3.12770 com.ti.tiva_stellaris.setup.win32.feature.group Texas Instruments
Trace Analyzer 4.0.0.201407021231 com.ti.dvt2.trace.ccs.feature.group Texas Instruments

可以用uniflash验证一下。

http://processors.wiki.ti.com/index.php/CC31xx_%26_CC32xx_SimpleLink_Tools#UniFlash

我下载了uniflash,然后刷了ServicePack那个bin文件,输出:

[11:39:56] Begin ServicePackUpdate operation.
[11:39:56] INFO: > Executing Operation: Connect
[11:39:58] INFO: setting break signal
[11:39:58] INFO: --- please restart the device ---
[11:40:04] INFO: connection succeeded
[11:40:04] INFO: getting storage list
[11:40:04] INFO: > Executing Operation: Init
[11:40:04] INFO: reading version info
[11:40:04] INFO: DEVICE CC3200 ES1.32
[11:40:04] INFO: reading version info
[11:40:05] INFO: reading version info
[11:40:07] INFO: > Executing Operation: ServicePackUpdate
[11:40:07] INFO: Path to the service pack file: D:\ti\CC31xx_CC32xx_ServicePack-0.5.2.0\servicepack.bin
[11:40:07] INFO: reading version info
[11:40:07] INFO: Flash Device detected.
[11:40:07] INFO: Service pack version information:
[11:40:07] INFO: NWP version: 2.0.7.0
[11:40:07] INFO: MAC version: 0.0.4.2
[11:40:07] INFO: PHY version: 1.5.3.3
[11:40:07] INFO: NWP Patch version: 0.0.0.0
[11:40:07] INFO: MAC Patch version: 0.0.0.0
[11:40:07] INFO: PHY Patch version: 0.0.0.0
[11:40:07] INFO: downloading file [NWP_CODE]
[11:40:07] INFO: Erase storage FLASH
[11:40:07] INFO: erase storage succeeded
[11:40:07] INFO: erase storage completed
[11:40:31] INFO: Verifying Data...
[11:40:47] INFO:

Verification OK
[11:40:48] INFO: Downloading file "/sys/servicepack.ucf" with size 244048
[11:40:57] INFO:

New Token is 0x0
[11:40:57] INFO: Download complete
[11:40:57] INFO: > Executing Operation: Disconnect
[11:40:57] Operation ServicePackUpdate returned.

查看版本,输出:


[11:41:29] Begin GetVersion operation.
[11:41:29] INFO: > Executing Operation: Connect
[11:41:31] INFO: setting break signal
[11:41:31] INFO: --- please restart the device ---
[11:41:34] INFO: connection succeeded
[11:41:34] INFO: getting storage list
[11:41:35] INFO: > Executing Operation: GetVersion
[11:41:35] INFO: reading version info
[11:41:35] INFO: > Bootloader version: 2.0.3.2
[11:41:35] INFO: > Chipset version: 19
[11:41:35] INFO: > Executing Operation: Disconnect
[11:41:35] Operation GetVersion returned.

但是用CCS调试仍然提示Error connecting to target,要怎么办?

我已经把验证结果贴在上面了,接下来呢?

你的CCS的版本是什么?这种情况我建议你把CCS卸载掉再重新安装一下,注意完全follow CC3200-Getting_Started_Guide.pdf.

您好,我也出现这个问题,但是没有看到您这儿有好的解决方式。

我用串口监视cc3200的端口2,然后使用ccs开始调试,会显示

Error connecting to the target

但是我把串口界面关闭后,调试程序,则可以正常调试,也没有任何问题。

意思好像是com2的端口不能同时被ccs和串口来使用,不知道怎么解决的,现在不能在调试同时,用串口来打印调试信息。

uniflash都刷到了最新版本,ccs也更新重装了

你说的端口2是UART1吗?如果是的话你用的哪两根PIN在做UART1,和调试口是不是有冲突。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top