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

仿真器受干扰与DSP断开连接的问题

dsp型号:28377D;仿真器型号:XDS100V3,研旭的;CCS版本:CCSv9

用于电池储能系统中功率变换器的控制,主要用到ADC模块、EPWM模块和一些GPIO

目前遇到的问题是:

功率电路正常工作但不带负载时,仿真器与DSP连接正常;

但带负载之后,大概1s到20s之后,CCS报错:

”IcePick_C_0: Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 8.4.0.00006) 

C28xx_CPU1: JTAG Communication Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 8.4.0.00006)C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging“

并且在点击“Connect Target”后无法重连,并报错如下:

“Error connecting to the target:

(Error -151 @ 0x0)
One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located.
(Emulation package 8.4.0.00006)”

初步分析原因是负载电流产生的EMI耦合到了控制部分,但DSP仍能稳定输出正确的PWM信号。

Green Deng:

你好,有两点建议。一个是,你的功率电路和你的电路板之间是如何隔离的?有没有可能是功率电路部分影响到电路板?
二是如果怀疑是电池干扰导致的,可以考虑使用带屏蔽JTAG线,你可以了解一下这方面的设备。

,

Green Deng:

你好,有两点建议。一个是,你的功率电路和你的电路板之间是如何隔离的?有没有可能是功率电路部分影响到电路板?
二是如果怀疑是电池干扰导致的,可以考虑使用带屏蔽JTAG线,你可以了解一下这方面的设备。

,

user6531536:

问题解决了没有,我也遇到了类似问题。芯片28069,仿真器TI XDS100V3.0

电路功能ADC,PWM,控制PWM产生正弦电流。给系统上电,继电器吸合瞬间几乎就会通信错误。

在办公桌上不带实际负载,单单跑PWM程序及ADC等是正常的,不会出现通信错误,由此可以判断是通信受干扰了。

郁闷。。。

,

eeLeeV:

我的问题最后靠更换新的仿真器解决了,但原来的仿真器也并不是坏了,因为拿去做其他实验都可以,唯独这个实验有毛病,你也可以试试换个新的仿真器

赞(0)
未经允许不得转载:TI中文支持网 » 仿真器受干扰与DSP断开连接的问题
分享到: 更多 (0)