我用同一个gel文件,在核0加载,并通过仿真器连接核0弹出下列错误:
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.00300002C66xx_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.333344 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 … DoneC66xx_0: Trouble Writing Memory Block at 0x210000d8 on Page 0 of Length 0x4: (Error -1060 @ 0x210000D8) 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 7.0.100.0)C66xx_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x210000D8
at *((unsigned int *) (0x21000000+0x000000D8))=0x80000000 [DSP_C665x.gel:250]
at ddr3_setup_auto_lvl_1333(0) [DSP_C665x.gel:864]
at Global_Default_Setup_Silent() [DSP_C665x.gel:590]
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 7.0.100.0)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 7.0.100.0)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 7.0.100.0)
同样的gel文件在核1上加载并用仿真器连接核1时没报错,打印如下:
C66xx_1: GEL Output: Setup_Memory_Map…
C66xx_1: GEL Output: Setup_Memory_Map… Done.
C66xx_1: GEL Output:Connecting Target…
C66xx_1: GEL Output: DSP core #1
C66xx_1: GEL Output: C6657L GEL file Ver is 1.00300002C66xx_1: GEL Output: Global Default Setup…
C66xx_1: GEL Output: Setup Cache…C66xx_1: GEL Output: L1P = 32KC66xx_1: GEL Output: L1D = 32KC66xx_1: GEL Output: L2 = ALL SRAMC66xx_1: GEL Output: Setup Cache… Done.
C66xx_1: GEL Output: Global Default Setup… Done.
继续在核1上load一个程序也没报错,打印如下:
C66xx_1: GEL Output: Invalidate All Cache…
C66xx_1: GEL Output: Invalidate All Cache… Done.
C66xx_1: GEL Output: GEL Reset…
C66xx_1: GEL Output: GEL Reset… Done.
同时也能弹出对应的main程序
由于我是不太熟悉这个CCS连接,不知道我这核0报错啥原因?大家看看,帮我分析一下
Shine:
有些初始化如PLL, PSC, DDR3只有在core0上执行,所以会出现core1不报错,core0报错。
请先按照提示降低TCLK频率试试。
processors.wiki.ti.com/index.php
willson:
这个问题解决了吗?怎么解决的。