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.

在进行CC2630 iar debug报错(Error -263 @ 0x0)

Other Parts Discussed in Thread: Z-STACK, CC2630, CC1310, CC2640R2F

如图所示:

使用的iar版本是7.40.3,编译后的hex文件能使用Flash Programmer 2烧写。

使用的sdk为Z-Stack home 1.2.2a

Mon Nov 19, 2018 16:13:44: Fatal error: Failed to connect to the XDS emulator (connect ICEPick)...  (Error -263 @ 0x0) Incompatible XDS110 firmware detected.  The firmware version of the connected XDS110 debug probe does not match the expected version. Please update the firmware using the xdsdfu  utility found in  the .../ccs_base/common/uscif/xds110 directory of  your installation. View the ReadMe.txt file there for instructions. (Emulation package 5.1.641.0)

Session aborted!

  • 這個問題一般是JTAG接線不良造成的,你是用TI官方的開發版還是自己作的板子?
  • 是自己做的板子。

    完整的报错是这样的。

    但是studio和Flash Programmer 2都是可以识别和使用的。

  • 把你XDS110跟CC2630 JTAG連線拍個照片貼上來看一下
  • 你jTAG線拉太長了、一般建議不超過10cm
  • 我这样使用自己做的CC2640R2F和CC1310板子,CC2640R2F在新版本IAR上是可以成功debug的,CC1310在ccs上也可以正常使用。
  • Jtag接線太長有時就會不能Debug、我建議你試試縮短接線看看
  • 我尝试使用了一条比较短的线,但是还是会出现问题。

    之后我按照提示使用xdsdfu

    又出现了新的错误:

    Fatal error: Failed to connect to the XDS emulator (connect ICEPick)... (Error -242 @ 0x0)

    望解答!

  • 這兩個錯誤是類似的,都可能是JTAG 接線不穩造成,你的接線為什麼要先接到一個轉版再轉模塊,建議你JTAG直接接線到模塊,而且線越短越好
  • 第二块板子也是出现同样的问题,我觉得应该不是线的问题,之前使用CC1310和CC2640R2F都没有出现这样的问题。会不会是哪里配置出了问题。
  • 你線沒有縮短只是換另一個板子有同樣的問題也是可能的、另外建議換一條USB cable試試
  • 请看一下下面的原因分析:

    Host connection error
    The error below is thrown by CCS when the device driver is unable to communicate with the JTAG debugger either via USB or Ethernet.
    Due to the nature of the different debug probes, the error messages vary according to the XDS family. This can have several sources:

    The Windows device drivers are not properly installed or failed to initialize. Check the Windows Control Panel, the XDS100 troubleshooting or the XDS200 known issues.
    The Linux udev rules are not properly configured. Either check Linux lsusb and udev rules, run the install_drivers.sh script as shown here or check the XDS200 known issues.
    The JTAG debugger failed to boot properly (XDS200 and XDS560v2). For XDS560v2, check the manufacturer's debug probe manual to see if it is in Safe Mode.
    The JTAG debugger is not powered (some variants of XDS560 and XDS560v2). Check the external power supply.
    The USB cable has loose contacts or not connected at all. Replace the USB cable and retest.
    The USB is connected via an incompatible USB HUB or port. Connect the USB cable directly to the host PC or to a different port.
    The debug probe firmware is incompatible with the OS. This is mostly applicable to XDS110 and XDS200. To verify this you can check the steps shown in the Firmware update section for XDS110 and XDS200.
  • 你这不是有官方板子,试试官方板子烧录是否正常,或者调试是否正常,如果正常,那么跟软件赔无关,就是你线缆太长或者噪声太大。或者硬件设计有缺陷。
x 出现错误。请重试或与管理员联系。