您好:
我之前买了一块TI原厂的DSP开发板TMDSEVM6657LS,一直都是在仿真进行操作,使用的是从论坛上下载的STK_C6657例程以及在这个基础上修改的程序进行测试,一切正常。
随后在一次测试EMIF接口连接AD的时候,一开始可以正常仿真,然后运行过了一阵,再仿真就不正常了,可以进到仿真界面,但是我的程序,运行到KeyStone_main_PLL_init(100, 10, 1);的时候就不能进行下去了。
下面是我测试时候出错的信息,麻烦工程师帮忙分析一下,这是出了什么问题,谢谢。
在console里面显示的信息是:
[C66xx_0] Initialize DSP main clock = 100.00MHz/1×10 = 1000MHz
C66xx_0: Power Failure on Target CPUC66xx_0: 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
C66xx_1: No Clock Signal On Target CPUC66xx_1: 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
这个看起来是PLL失败了的样子。
再之后,我又lanuch了一个之前的ccxml配置文件,connect core0 ,load GEL ,使用的是光盘自带的“evmc6657l.gel”,然后进行Global_Default_Setup,在console里面的信息如下:
C66xx_0: GEL Output: Setup_Memory_Map…
C66xx_0: GEL Output: Setup_Memory_Map… Done.
C66xx_0: GEL Output: C6657L GEL file Ver is 1.002C66xx_0: GEL Output: Global Default Setup…
C66xx_0: GEL Output: Setup Cache…C66xx_0: GEL Output: L1P = 32KC66xx_0: GEL Output: L1D = 32KC66xx_0: GEL Output: L2 = ALL SRAMC66xx_0: GEL Output: Setup Cache… Done.
C66xx_0: GEL Output: Main PLL (PLL1) Setup …C66xx_0: GEL Output: PLL in Bypass …C66xx_0: GEL Output: PLL1 Setup for DSP @ 1000.0 MHz.
C66xx_0: GEL Output: SYSCLK2 = 333.3333 MHz, SYSCLK5 = 200.0 MHz.
C66xx_0: GEL Output: SYSCLK8 = 15.625 MHz.
C66xx_0: GEL Output: PLL1 Setup… Done.
C66xx_0: GEL Output: DSP core #64 cannot set PSC.
C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup …C66xx_0: GEL Output: DSP core #64 cannot set DDR3 PLL
C66xx_0: GEL Output: DDR3 Init begin (1333 auto)
C66xx_0: GEL Output: XMC Setup … DoneC66xx_0: GEL Output:DDR3 initialization is complete.
C66xx_0: GEL Output: DDR3 Init done
C66xx_0: GEL Output: DDR3 memory test… Started
C66xx_0: GEL Output: DDR3 memory test… Failed
C66xx_0: GEL Output: Main PLL (PLL1) Setup …C66xx_0: GEL Output: DSP core #64 cannot set PLL1.
C66xx_0: GEL Output: Error in Setting up main PLL, please power cycle the board and re-run Global Default Setup…
请问这大概是个什么情况?是哪里坏了么?我现在也不知道能够通过测量什么来判断是谁出了问题,会是DSP芯片坏了么?
多谢!!!
Allen35065:
把dip开关置于no_boot,然后量一下输入的几路电压和时钟以及DSP的SYSCLKOUT
chilling:
回复 Allen35065:
您好:
附件是我测量的测试点的电压值和SYSCLKOUT,您看下是否有问题。
谢谢!!!
lun he2:
您好,
我现在也碰到和您一样的问题,6657的DSP一直在循环,单步发现一直在跳转到判断PLL ByPass中,这个结果是什么原因引起的呢?
谢谢