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

CC2640 脱离仿真器不能运行

CC2640的几个问题

CC2640 自制的板子,通过XDSV100V3 CCS环境仿真,SmartRF Programer2 编程

1、在仿真器中可以仿真,功能正常,但烧录后,程序不运行,测量VDDR = 1.7V左右,与接仿真器时一样

      接仿真器时,晶振可以起振,用示波器可以观测到24M晶振的波形。但去掉仿真器后,不能起振,因为起振也是需要复位后执行特定代码才会起振的。

     是否复位方面的问题,目前我在RSTN管脚,接了120K和0.1uF的复位电路。用镊子主动复位,也不能工作。是否改芯片在复位方面有其他需求

2、SmartRF Programer2,通过XDSV100V3可以识别到CC2640 ,但点Connect,显示连接失败

>Initiate access to target: XDS-TIYRNGA0A.

>Create XBAL object failed: Target connect failed

>Failed to create device object.

Jun Xu8:

目前的程序,不是官方例程,是自己写的裸跑的程序,即不含RTOS的程序

Susan Yang:

您用CCS直接下载可以成功吗?另外您可以先参考下 https://e2e.ti.com/support/wireless_connectivity/f/538/p/445302/1599597

cedar_xuesong:

一般这类问题属于程序运行时,电压不稳定,就开始执行代码导致错误

在main前增加一段延时代码,比如20ms,再看看效果

Jun Xu8:

回复 Susan Yang:

还有,就是CC2640的JTAG口特别容易损坏,调试几天,板子就会报错如下:

[Start: Texas Instruments XDS100v3 USB Debug Probe]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]

—–[Print the board config pathname(s)]————————————

C:\Users\xujuncz\AppData\Local\TEXASI~1\ CCS\ti\0\0\BrdDat\testBoard.dat

—–[Print the reset-command software log-file]—————————–

This utility has selected a 100- or 510-class product.This utility will load the adapter 'jioserdesusbv3.dll'.The library build date was 'Feb 18 2015'.The library build time was '23:56:50'.The library package version is '5.1.641.0'.The library component version is '35.34.40.0'.The controller does not use a programmable FPGA.The controller has a version number of '4' (0x00000004).The controller has an insertion length of '0' (0x00000000).This utility will attempt to reset the controller.This utility has successfully reset the controller.

—–[Print the reset-command hardware log-file]—————————–

The scan-path will be reset by toggling the JTAG TRST signal.The controller is the FTDI FT2232 with USB interface.The link from controller to target is direct (without cable).The software is configured for FTDI FT2232 features.The controller cannot monitor the value on the EMU[0] pin.The controller cannot monitor the value on the EMU[1] pin.The controller cannot control the timing on output pins.The controller cannot control the timing on input pins.The scan-path link-delay has been set to exactly '0' (0x0000).

An error occurred while hard opening the controller.

—–[An error has occurred and this utility has aborted]——————–

This error is generated by TI's USCIF driver or utilities.

The value is '-230' (0xffffff1a).The title is 'SC_ERR_PATH_MEASURE'.

The explanation is:The measured lengths of the JTAG IR and DR scan-paths are invalid.This indicates that an error exists in the link-delay or scan-path.

[End: Texas Instruments XDS100v3 USB Debug Probe]

我都有五六块板子出现这样的问题了。

赞(0)
未经允许不得转载:TI中文支持网 » CC2640 脱离仿真器不能运行
分享到: 更多 (0)