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信号。