TI论坛
直播中

刘思思

7年用户 201经验值
私信 关注
[问答]

CCSV5.5 GEL初始化错误,请问可能是什么 原因?

自己新做的板子,第一次用多核芯片,很多不懂的,目前在调试,GEL初始化时出现问题。
板子芯片是6655,和FPGA相连,FPGA给复位信号后能正常复位,GEL文件用的是C6657L GEL,想在它的基础上改的。直接用C6657L GEL,得到的结果如下:
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 @ 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: 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: 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: PLL not in Bypass, Enable BYPASS in the PLL Controller...

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: 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: 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: PLL and DDR3 Initialization failed ...

用示波器测试SYSCLKOUT引脚,得到的信号频率是33.3MHz(主时钟的1/6),所以证明PLL进行了10倍频,芯片工作在200MHz上。

然后我觉得可能是PLL时钟的问题,板子上的晶振是20MHz的,同时供给CLKN/P和DDRCLKN/P,不知道有没有问题,GEL文件里CLKN/P默认是100MHz,DDRCLKN/P默认是50MHz,所以把PLL1_M、PLL1_D改为了99、0,把PLL2M、PLL2D改为199、2,想把coreclk设置到1GHz,把DDR工作时钟设定666.7MHz,得到如下结果:

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 @ 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: Power on all PSC modules and DSP domains...

C66xx_0: Trouble Writing Memory Block at 0x2350a0c on Page 0 of Length 0x4: (Error -1060 @ 0x2350A0C) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x02350A0C   at *(mdctl)=((*(mdctl)&~(0x1f))|state) [6655.gel:1210] at Set_PSC_State(0, 3, 0x3) [6655.gel:1643]     at Set_Psc_All_On() [6655.gel:775] at Global_Default_Setup_Silent() [6655.gel:510] at OnTargetConnect() .

C66xx_0: Trouble Reading Register ControlRegisters_CSR: (Error -1060 @ 0x41) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: GEL Output: Invalidate All Cache...

C66xx_0: Trouble Writing Memory Block at 0x1845028 on Page 0 of Length 0x4: (Error -1060 @ 0x1845028) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: GEL: Error calling OnPreFileLoaded(): Target failed to write 0x01845028

C66xx_0: Trouble Writing Memory Block at 0x880106e0 on Page 0 of Length 0x94: (Error -1060 @ 0x64) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: Error: (Error -1060 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: Trouble Reading Register PC: (Error -1060 @ 0x5F) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: GEL: File: D:NTSC20132013workdsptest3Debugtest3.out: Load failed.

C66xx_0: GEL Output: Invalidate All Cache...

C66xx_0: Trouble Writing Memory Block at 0x1845028 on Page 0 of Length 0x4: (Error -1060 @ 0x1845028) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: GEL: Error calling OnPreFileLoaded(): Target failed to write 0x01845028

C66xx_0: Trouble Writing Memory Block at 0x880106e0 on Page 0 of Length 0x94: (Error -1060 @ 0x64) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: Error: (Error -1060 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

C66xx_0: Trouble Reading Register PC: (Error -1060 @ 0x5F) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)



请问各位这可能是什么问题啊?


回帖(4)

周颂焱

2018-8-6 06:13:39
这有一个类似,电源供电不足引起的
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/3568.aspx
举报

李阳

2018-8-6 06:29:15
感觉像是你的PLL配置出了问题,比如超出了芯片所能承受的频率,导致内部寄存器读写无反映。
如果输入频率不在GEL脚本范围内,建议LZ自己参照GEL脚本写PLL初始化程序。
举报

刘思思

2018-8-6 06:37:56
引用: sosolala 发表于 2018-8-6 06:13
这有一个类似,电源供电不足引起的
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/3568.aspx

按链接上的试了下,PLL1M设置过高就会提示电源问题,低于推荐值64都可以,我现在只有20mhz的晶振,把DSP的工作时钟调到700MHz来调试可以吗?DDRClk给400MHz可以吗?
举报

曲芳

2018-8-6 06:54:31
引用: qwe045 发表于 2018-8-6 06:37
按链接上的试了下,PLL1M设置过高就会提示电源问题,低于推荐值64都可以,我现在只有20mhz的晶振,把DSP的工作时钟调到700MHz来调试可以吗?DDRClk给400MHz可以吗?

你好,问你你问题解决了么?我的板子用的是EVMC6657,用的是6657的gel,请教下您怎么解决的?
是修改的GEL么
举报

更多回帖

发帖
×
20
完善资料,
赚取积分