我用的是EVM6678L.GEL文件
进入Debug模式后;
错误提示:
点击菜单“Scripts-> EVMC6678L HW Setup->Init_PLL”,出现以下错误:
C66xx_0: GEL Output: Main PLL (PLL1) Setup …
C66xx_0: Trouble Writing Memory Block at 0x2620038 on Page 0 of Length 0x4: (Error -1060 @ 0x2620038) 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)
Init_PLL() cannot be evaluated.
Target failed to write 0x02620038
at *((unsigned int *) (0x02620000+0x0038))=0x83E70B13 [evmc6678l.gel:168]
atInit_PLL()
点击菜单“Scripts->EVMC6678L Init Functions->Global_Default_Setup”,出现以下错误:
C66xx_0: GEL Output: C6678L GEL file Ver is 2.005
C66xx_0: GEL Output: Global Default Setup…
C66xx_0: GEL Output: Setup Cache…
C66xx_0: Trouble Writing Memory Block at 0x1840020 on Page 0 of Length 0x4: (Error -1060 @ 0x1840020) 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)
Global_Default_Setup() cannot be evaluated.
Target failed to write 0x01840020
at *((unsigned int *) (0x01840000+0x0020))=4 [evmc6678l.gel:312]
atSet_DSP_Cache() [evmc6678l.gel:850]
atGlobal_Default_Setup_Silent() [evmc6678l.gel:1595]
atGlobal_Default_Setup()
点击菜单“Scripts-> EVMC6678L Init Functions->Set_DSP_Cache”,出现以下错误:
C66xx_0: GEL Output: Setup Cache…
C66xx_0: Trouble Writing Memory Block at 0x1840020 on Page 0 of Length 0x4: (Error -1060 @ 0x1840020) 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)
Set_DSP_Cache() cannot be evaluated.
Target failed to write 0x01840020
at *((unsigned int *) (0x01840000+0x0020))=4 [evmc6678l.gel:312]
atSet_DSP_Cache()
点击菜单“Scripts-> EVMC6678L Init Functions->Set_Pll2_666_7_MHz”,出现以下错误:
Set_Pll2_666_7_MHz() cannot be evaluated.
'Set_Pll2()' not found
at Set_Pll2() [evmc6678l.gel:1727]
at Set_Pll2_666_7_MHz()
点击菜单“Scripts-> EVMC6678L Init Functions->Set_Psc_All_On”,出现以下错误:
C66xx_0: Trouble Reading Register ControlRegisters_DNUM: (Error -1060 @ 0x50) 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)
Set_Psc_All_On() cannot be evaluated.
Target failed to read register ControlRegisters_DNUM
at (DNUM==0) [evmc6678l.gel:1755]
atSet_Psc_All_On()
点击菜单“Scripts-> EVMC6678L Init Functions->Set_Pin_Board”,出现以下错误:
C66xx_0: Trouble Reading Register ControlRegisters_DNUM: (Error -1060 @ 0x50) 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)
Set_Pin_Board() cannot be evaluated.
Target failed to read register ControlRegisters_DNUM
at (DNUM==0) [evmc6678l.gel:1801]
atSet_Pin_Board()
点击菜单“Scripts->EVMC6678L Debug Tools->Invalidate_Cache”,出现以下错误:
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)
Invalidate_Cache() cannot be evaluated.
Target failed to write 0x01845028
at *((int *) (0x01840000+0x5028))=1 [evmc6678l.gel:1887]
atInvalidate_Cache()
点击菜单“Scripts->EVMC6678L Debug Tools->Flush_Cache”,出现以下错误:
C66xx_0: GEL Output: Flush 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)
Flush_Cache() cannot be evaluated.
Target failed to write 0x01845028
at *((int *) (0x01840000+0x5028))=1 [evmc6678l.gel:1934]
atFlush_Cache()
点击菜单“Scripts->EVMC6678L Debug Tools->Core_Info”,出现以下错误:
C66xx_0: Trouble Reading Register ControlRegisters_DNUM: (Error -1060 @ 0x50) 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)
Core_Info() cannot be evaluated.
Target failed to read register ControlRegisters_DNUM
atGEL_TextOut("DSP core #%d\n", 0, 1, 0, 0, DNUM) [evmc6678l.gel:1976]
atCore_Info()
点击菜单“Scripts->Memory Map->Setup_Memory_Map”,出现以下错误:
C66xx_0: GEL Output: Setup_Memory_Map…
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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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)
Setup_Memory_Map() cannot be evaluated.
Evaluation canceledC66xx_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)
点击菜单“Scripts->CPSW Functions->setCpSwConfig”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x2090804 on Page 0 of Length 0x4: (Error -1060 @ 0x2090804) 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)
setCpSwConfig() cannot be evaluated.
Target failed to write 0x02090804
at *((unsigned int *) (0x02090800+0x004))=0x4 [evmc6678l.gel:397]
atsetCpSwConfig()
点击菜单“Scripts->PA PLL Functions ->getPaPllConfig”,出现以下错误:
C66xx_0: Trouble Reading Memory Block at 0x2620020 on Page 0 of Length 0x4: (Error -1060 @ 0x2620020) 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)
getPaPllConfig() cannot be evaluated.
Target failed to read 0x02620020
at (*((unsigned int *) 0x02620020)&(1<<17)) [evmc6678l.gel]
atgetPaPllConfig()
点击菜单“Scripts->DDR EVMC6678L Functions ->InitXMC”,出现以下错误:
InitXMC() cannot be evaluated.
Memory map prevented writing 0x08000010
at *((int *) (0x08000000+0x00000010))=0x100000FF [evmc6678l.gel:2337]
atxmc_setup() [evmc6678l.gel:2868]
atInitXMC()
点击菜单“Scripts->DDR EVMC6678L Functions ->InitEmif_EVM”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x2620038 on Page 0 of Length 0x4: (Error -1060 @ 0x2620038) 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)
InitEmif_EVM() cannot be evaluated.
Target failed to write 0x02620038
at *((unsigned int *) (0x02620000+0x0038))=0x83E70B13 [evmc6678l.gel:168]
at ddr3_setup_auto_lvl_1333(0) [evmc6678l.gel:2892]
atInitEmif_EVM()
点击菜单“Scripts->EVMC6678L EDC Functions->EnableEDC_OneforAll”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x1846408 on Page 0 of Length 0x4: (Error -1060 @ 0x1846408) 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)
EnableEDC_OneforAll() cannot be evaluated.
Target failed to write 0x01846408
at *((unsigned int *) 0x01846408)=0x1 [evmc6678l.gel:2986]
at CGEM_enableL1PEDC() [evmc6678l.gel:3064]
atEnableEDC_OneforAll()
点击菜单“Scripts->EVMC6678L EDC Functions->L1PEDCEnable”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x1846408 on Page 0 of Length 0x4: (Error -1060 @ 0x1846408) 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)
L1PEDCEnable() cannot be evaluated.
Target failed to write 0x01846408
at *((unsigned int *) 0x01846408)=0x1 [evmc6678l.gel:2986]
at CGEM_enableL1PEDC() [evmc6678l.gel:3091]
at L1PEDCEnable()
点击菜单“Scripts->EVMC6678L EDC Functions->L2EDCEnable”,出现以下错误:
C66xx_0: Trouble Reading Memory Block at 0x1846030 on Page 0 of Length 0x4: (Error -1060 @ 0x1846030) 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)
L2EDCEnable() cannot be evaluated.
Target failed to read 0x01846030
at (*((unsigned int *) 0x01846030)|=0x1F) [evmc6678l.gel:2966]
at CGEM_enableEDCL2EDCEN() [evmc6678l.gel:3114]
at L2EDCEnable()
点击菜单“Scripts->EVMC6678L EDC Functions->MSMCEDCEnable”,出现以下错误:
MSMCEDCEnable() cannot be evaluated.
Memory map prevented reading 0x0BC00010
at (*((unsigned int *) 0x0BC00010)&=0x7FFFFFFF) [evmc6678l.gel:3023]
atMSMC_enableEDC() [evmc6678l.gel:3139]
atMSMCEDCEnable()
点击菜单“Scripts->EVMC6678L EDC Functions->DisableEDC_OneforAll”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x1846408 on Page 0 of Length 0x4: (Error -1060 @ 0x1846408) 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)
DisableEDC_OneforAll() cannot be evaluated.
Target failed to write 0x01846408
at *((unsigned int *) 0x01846408)=0x4 [evmc6678l.gel:3002]
at CGEM_disableL1PEDC() [evmc6678l.gel:3162]
atDisableEDC_OneforAll()
点击菜单“Scripts->EVMC6678L EDC Functions-> L1PEDCDisable”,出现以下错误:
C66xx_0: Trouble Writing Memory Block at 0x1846408 on Page 0 of Length 0x4: (Error -1060 @ 0x1846408) 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)
L1PEDCDisable() cannot be evaluated.
Target failed to write 0x01846408
at *((unsigned int *) 0x01846408)=0x4 [evmc6678l.gel:3002]
at CGEM_disableL1PEDC() [evmc6678l.gel:3187]
at L1PEDCDisable()
点击菜单“Scripts->EVMC6678L EDC Functions->L2EDCDisable”,出现以下错误:
C66xx_0: Trouble Reading Memory Block at 0x1846030 on Page 0 of Length 0x4: (Error -1060 @ 0x1846030) 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)
L2EDCDisable() cannot be evaluated.
Target failed to read 0x01846030
at (*((unsigned int *) 0x01846030)&=0xFFFFFFE0) [evmc6678l.gel:2973]
at CGEM_disableEDCL2EDCEN() [evmc6678l.gel:3210]
at L2EDCDisable()
Shine:
请问板子是EVM板吗?
user4802057:
回复 Shine:
我自己设计的电路板,不过电路板是按照EVM板设计的,DDR3的型号与EVM的不一样,但是GEL文件采用的是EVM板,不知道要修改哪些GEL文件的内容,我们看不懂GEL文件里的内容,不知道哪里能有GEL文件解析。谢谢!能告诉我吗?我的 email是mtwlbh@126.com
Shine:
回复 user4802057:
在GEL文件中search DDR3关键字,这些是和DDR3配置有关的。
user4802057:
回复 Shine:
麻烦问一下,哪里有GEL文件解析的呀,说明每一句表示什么意思。
很多看不懂。我的原理图设计参考的是EMV。
找到DDR3有关的如下:#define DDR3_BASE_ADDRESS 0x80000000 这个是DDR3的基地址,只跟DSP芯片有关,应该不需要改
#define DDR3PLLCTL0 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0330))#define DDR3PLLCTL1 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0334))
// DDR3 tuning registers#define DATA0_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x043C))#define DATA1_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0440))#define DATA2_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0444))#define DATA3_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0448))#define DATA4_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x044C))#define DATA5_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0450))#define DATA6_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0454))#define DATA7_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0458))#define DATA8_GTLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x045C))
#define DATA0_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x040C))#define DATA1_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0410))#define DATA2_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0414))#define DATA3_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0418))#define DATA4_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x041C))#define DATA5_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0420))#define DATA6_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0424))#define DATA7_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x0428))#define DATA8_WRLVL_INIT_RATIO (*(unsigned int*)(CHIP_LEVEL_REG + 0x042C))
#define DDR3_CONFIG_REG_0 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0404))#define DDR3_CONFIG_REG_12 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0434))#define DDR3_CONFIG_REG_23 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0460))#define DDR3_CONFIG_REG_24 (*(unsigned int*)(CHIP_LEVEL_REG + 0x0464))
以下这些这些有用吗,这些跟DDR3 #define DDR3_BASE_ADDRESS 0x80000000有冲动吗?// DDR3 definitions#define DDR_BASE_ADDR 0x21000000
#define DDR_MIDR (*(unsigned int*)(DDR_BASE_ADDR + 0x00000000))#define DDR_SDCFG (*(unsigned int*)(DDR_BASE_ADDR + 0x00000008))#define DDR_SDRFC (*(unsigned int*)(DDR_BASE_ADDR + 0x00000010))#define DDR_SDTIM1 (*(unsigned int*)(DDR_BASE_ADDR + 0x00000018))#define DDR_SDTIM2 (*(unsigned int*)(DDR_BASE_ADDR + 0x00000020))#define DDR_SDTIM3 (*(unsigned int*)(DDR_BASE_ADDR + 0x00000028))#define DDR_PMCTL (*(unsigned int*)(DDR_BASE_ADDR + 0x00000038))#define DDR_ZQCFG (*(unsigned int*)(DDR_BASE_ADDR + 0x000000C8))#define DDR_RDWR_LVL_RMP_CTRL (*(unsigned int*)(DDR_BASE_ADDR + 0x000000D8))#define DDR_TMPALRT (*(unsigned int*)(DDR_BASE_ADDR + 0x000000CC))#define DDR_RDWR_LVL_CTRL (*(unsigned int*)(DDR_BASE_ADDR + 0x000000DC))#define DDR_DDRPHYC (*(unsigned int*)(DDR_BASE_ADDR + 0x000000E4))
下面代码是DDR3的测试代码,应该不需要修改吧/** * @brief Simple DDR3 test * * @details * This function performs a simple DDR3 test for a memory range * specified below and returns -1 for failure and 0 for success. */
#define DDR3_TEST_START_ADDRESS (0x80000000)
#define DDR3_TEST_END_ADDRESS (DDR3_TEST_START_ADDRESS + (4 * 100))
ddr3_memory_test (){ unsigned int index, value;
GEL_TextOut( "DDR3 memory test… Started\n" );
/* Write a pattern */ for (index = DDR3_TEST_START_ADDRESS; index < DDR3_TEST_END_ADDRESS; index += 4) { *index = index; }
/* Read and check the pattern */ for (index = DDR3_TEST_START_ADDRESS; index < DDR3_TEST_END_ADDRESS; index += 4) {
value = *index;
if (value != index) { GEL_TextOut( "DDR3 memory test… Failed\n" ); return -1; } }
/* Write a pattern for complementary values */ for (index = DDR3_TEST_START_ADDRESS; index < DDR3_TEST_END_ADDRESS; index += 4) { *index = ~index; }
/* Read and check the pattern */ for (index = DDR3_TEST_START_ADDRESS; index < DDR3_TEST_END_ADDRESS; index += 4) {
value = *index;
if (value != ~index) { GEL_TextOut( "DDR3 memory test… Failed\n" ); return -1; } }
GEL_TextOut( "DDR3 memory test… Passed\n" ); return 0;}
还有
// Setup Pll2 DDR3 PLL @ 667 MHz Init_Pll2(PLLM_DDR, PLLD_DDR);
user4802057:
回复 Shine:
另外,麻烦是否有资料对GEL文件的详细解析呀?目前对这个文件是一头雾水,一窍不通。
Shine:
回复 user4802057:
GEL函数的说明可以到CCS->Help->Help Contents->Code Composer Studio Help > Tasks > Automating Tasks with General Extension Language (GEL)查看