各位好:
我的芯片型号是TMS320C6655,仿真器是560PLUS。
1、手册中PLL外部时钟输入的tc(cycle time)必须小于25ns,是不是外部输入的时钟必须大于40MHz?
2、DDR3的外部时钟输入有DDRCLK(N/P)两路,是不是必须为差分输入,只输入单端可以吗?
3、DDR3经PLL倍频后的工作时钟必须为666.7MHz(数据率1333MHz)吗?调低到300MHz可不可以?
4、由于我的板子的外部时钟是20MHz,将DDR倍频到666.7MHz后,GEL载入出现寄存器不能读写错误,如下,出错的地址为0x210000e4,对于memory为DDR3 EMIF CONFIGURE,可能存在什么问题?
C66xx_0: GEL Output: Setup_Memory_Map…
C66xx_0: GEL Output: Setup_Memory_Map… Done.
C66xx_0: GEL Output:
Connecting Target…
C66xx_0: GEL Output: DSP core #0
C66xx_0: GEL Output: C6657L GEL file Ver is 1.003
C66xx_0: GEL Output: Global Default Setup…
C66xx_0: GEL Output: Setup Cache…
C66xx_0: GEL Output: L1P = 32K
C66xx_0: GEL Output: L1D = 32K
C66xx_0: GEL Output: L2 = ALL SRAM
C66xx_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 @ 700.0 MHz.
C66xx_0: GEL Output: SYSCLK2 = 233.3333 MHz, SYSCLK5 = 140.0 MHz.
C66xx_0: GEL Output: SYSCLK8 = 10.9375 MHz.
C66xx_0: GEL Output: PLL1 Setup… Done.
C66xx_0: GEL Output: Power on all PSC modules and DSP domains…
C66xx_0: GEL Output: Set_PSC_State… Timeout Error #03 pd=12, md=4!
C66xx_0: GEL Output: Power on all PSC modules and DSP domains… Done.
C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup …
C66xx_0: GEL Output: DDR3 PLL Setup… Done.
C66xx_0: GEL Output: DDR3 Init begin (1333 auto)
C66xx_0: GEL Output: XMC Setup … Done
C66xx_0: Trouble Reading Memory Block at 0x210000e4 on Page 0 of Length 0x4: (Error -1202 @ 0x210000E4) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
C66xx_0: Trouble Reading Memory Block at 0x210000e4 on Page 0 of Length 0x4: (Error -1202 @ 0x210000E4) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
C66xx_0: Trouble Reading Memory Block at 0x210000e4 on Page 0 of Length 0x4: (Error -1202 @ 0x210000E4) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
C66xx_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x210000E4 at (*((unsigned int *) (0x21000000+0x000000E4))|=0x00008000) [6655.gel:245] at ddr3_setup_auto_lvl_1333(0) [6655.gel:784] at Global_Default_Setup_Silent() [6655.gel:511] at OnTargetConnect() .
C66xx_0: 1 other operation(s) were automatically canceled as a result
C66xx_0: Trouble Reading Register ControlRegisters_CSR: (Error -1202 @ 0x6E) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
C66xx_0: Error: (Error -1202 @ 0x6E) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
Eason Wang:
您好,6655是属于多核DSP产品的支持板块,建议那边发帖,会更快速准确一些。
1. 我不清楚,建议你直接参考EVM的接法,时钟这块关系到系统稳定,不建议自己改
2. DDR3芯片上的P/N, 不建议用单端的接法,会降低稳定性
3. 可以自己调整DDR3的时钟频率。300MHz这么低我倒不是很确定。。。要看手册怎么说
4. 根据不同的DDR频率和DDR芯片参数,是需要去修改DDR Controllor的寄存器配置的。这个在Gel文件中是有写到的,你可以用文本编辑器直接打开gel修改。
这是你自己做的板子?时钟输入有换过吗?这个667MHz是实际量出来的么。可能PLL的值还是要再改改吧?