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

跪求 DSP 28335 开发问题啊

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

mangui zhang:

您好!我想问问代码下载不进去还是CCS连接不到目标板上  

如果是连接不上   请检查硬件仿真器是否支持CCS对应的版本    仿真器驱动是否安装到CCS同一目录

如果连接上只是下载时出问题   就有些不理解了   个人觉得应该是CCS安装问题了

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

Shunyong Bian:

我也遇到了 请问如何解决?

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

Eric Ma:

回复 Shunyong Bian:

确认芯片供电有没问题,JTAG口接线。

另外用最新的CCS, 配置好正确的仿真器,芯片。

ERIC

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

Pengwei SHI:

我也是这个问题,请问您最终解决了吗?板子上的电压都正确

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

Doris Dong:

您好,我也是这样的问题。可以连接上,但是运行时系统一直是“0 <symbol is not available> 0x3ff9ce”;断开连接以后,再次想要连接,就会报错,错误内容和你的一样。我自己测量了我的芯片MAX811T的2脚(RESET脚),确实一直是低电平。

具体截图如下:

近日小弟在开发28335的板子,新板子回来之后用CCS进行调试,可以代码总是下不进去。分别用了CCS4.0和CCS4.2两个软件进行调试。
软件给出的结果都不一样,CCS4.0给出的提示是这样的:
It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset
然后我检查了EMU0和EMU1的电平都是高电平,没有问题。
用CCS4.2调试的结果是这样的:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
C28xx: GEL: Error while executing OnReset(1): Target failed to read the register ST1.
C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x1f: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Release 5.0.429.0) 
Cannot write to target
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.429.0) 

DSP的XRS管脚电平也是高电平,没有复位,所以这个应该没问题。

所以现在我也不知道问题出在哪里了,求各位高人指点,给点思路,感激不尽啊啊啊!!!
先谢谢各位看帖的前辈了。

Eric Ma:

回复 Doris Dong:

”您好,我也是这样的问题。可以连接上,但是运行时系统一直是“0 <symbol is not available> 0x3ff9ce”;断开连接以后,再次想要连接,就会报错,错误内容和你的一样。我自己测量了我的芯片MAX811T的2脚(RESET脚),确实一直是低电平。“
ERIC:
你要检测一下你芯片的供电电源是否在手册要求的范围之内,然后软件的话,烧写一个controlSUITE里面的标准例程来做测试。

赞(0)
未经允许不得转载:TI中文支持网 » 跪求 DSP 28335 开发问题啊
分享到: 更多 (0)