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.

SPI启动问题,EVM板没问题,自己的板子连接出错



只要配置成SPI启动,然后仿真器都进不去了,可能是什么原因呢?报错如下。

C66xx_0: Error connecting to the target: (Error -1144 @ 0x0) Device core is hung. The debugger attempted to recover debug control, but was unsuccessful. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0) 

  • spi的启动程序可以正确启动吗?

  • 链接了4核文件,用norwriter_evmc6670l 烧写到EVM6670上可以成功启动。然后用norwriter_evmc6678l 烧写到自己做的板子上(也不知道烧进去没,只连接4核没问题吗?),设置成spi启动,测不到时钟,肯定就是没起来。尝试连接仿真器直接报如题的错误。改为no boot模式,仿真器就可以连接上了。

    主要问题就是为什么会导致仿真器连接不上呢?

    还想问用norwriter_evmc6670l与norwriter_evmc6678l烧写有什么区别吗?

  • 应该是core被卡住了,导致连不上仿真器,如果没有燒写程序,配置SPI boot后直接上电是否可以连上,evm6670与6678上挂的flash型号可能不一样,两者的PLL及SPI等相关寄存器地址也不一样,所以程序会不一样。

  • 感谢Andy Yin1提供思路

    测试了一些情况,确实是core0被卡了。

    我把flash的数据擦掉,设置spi boot,仿真器果真可以连接上。后面又将程序烧写进去,果真又连不上了。

    接着尝试将flash数据读出来,发现读出来的内容与spirom.dat不一样,不是因为大小端,而是有些数据发生了改变。

    1.为什么会出现这种情况呢?

    关于报错:

    Error connecting to the target:
    (Error -1202 @ 0x0)  

    2. 这里错误的意思是一开始在0x0地址就卡了?

    所以我疑惑了:我的应用程序该怎么做改变?


  • 问题解决了

    后面发现6670和6678的参数表是不一样的。而我使用了同样的参数表。修改之后就能进去了。