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.

dsp仿真出问题,盼解答



我用的是omapl137芯片,用ccs3.3对dsp程序进行仿真,加载了.out文件,运行后报错如下:

Trouble Halting Target CPU: Error 0x00001020/-1137 Error during: Execution, Target,  
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 

请问ccs能单独对dsp端进行仿真吗?

  • 我将看门狗连片插上就没有出现这样的提示了。

    但是还是不能仿真运行起来,我的板子arm端负责通信,dsp端负责计算的,板子在没有仿真器的情况下是运行正常的,我想做的工作是只是仿真dsp的程序,我只将dsp程序通过ccs3.3编译生成out文件,然后load下去,再点击运行,板子跑不起来,是什么原因呢。是不是不能单独对dsp端进行仿真呢,还是另外有什么设置。谢谢。

  • 从你第一个帖子来看好像是DSP没有解复位,因此DSP无法连上。

    你如果DSP是运行的(有代码在work),通过JTAG是可以直接touch到DSP上的,不需要load代码。

    如果你的DSP是没有代码的,处于解复位状态,那么你touch上去pc指针应该是ROM的位置(ROM的位置具体根据不同device决定,请参看手册)。这时你load DSP的code,然后运行应该是没问题的。

  • 感谢解答。

    我现在想将我的.out文件转换成.bin文件,通过我的装置的网口直接下到板子上,我看了一个资料如下:

    先把你要转换的.out文件考备到同hex55.exe的文件夹下,在生成bin文件前要先配置一下boot55x.cmd文件,右键单击编辑boot55x.cmd文件,修改里面的文件地址(即自己存放.out的文件夹,如下图中的F:\DSP5509\USB_boot\exchange\gpio.bin  生成.bin文件的地址                 F:\DSP5509\USB_boot\exchange\gpio.out这是我存放.out文件的地址)

     boot55x.cmd文件如下:

    {-e _c_int00

    -boot

    -v5510:2

    -serial8

    -reg_config ox1c00,0x2180

    -delay ox100

    -b

    -0 f:\dsp5509\usb_boot\exchange\gpio.bin

    f:\dsp5509\usb_boot\exchange\gpio.out}

    配置完保存,生成bin文件,在dos命令下完成。

    上述资料完。

    请问我使用的omapl137芯片中的dsp程序能这样转换吗,如果可以,cmd文件该如何配置,有该芯片的例子吗。非常感谢。