TI中文支持网
TI专业的中文技术问题搜集分享网站

C6678 GEL文件加载失败问题

自制C6678板,CORE、DDR、PA三个时钟与EVM相同,已通过示波器看到,在加载EVM的GEL发生错误。不加载GEL文件时,在1GHz能运行程序,测试的串口程序数据收发都正常,但单步DEBUG时经常在设置完main PLL时出现memory不能read的情况,跟加载GEL时出现的问题很相似。以下是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: C6678L GEL file Ver is 1.6C66xx_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: PLL1 Setup…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 Reading Memory Block at 0x2350810 on Page 0 of Length 0x4: (Error -1202 @ 0x2350810) 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.0.569.0)C66xx_0: GEL: Error while executing OnTargetConnect(): target access failed at (*(mdstat)&0x1f) [evmc6678l.gel:1322] at Set_PSC_State(0, 4, 0x3) [evmc6678l.gel:1744] at Set_Psc_All_On() [evmc6678l.gel:900] at Global_Default_Setup_Silent() [evmc6678l.gel:628] at OnTargetConnect() .
C66xx_0: GEL Output: Invalidate All Cache…

C66xx_0: Trouble Writing Memory Block at 0x1845028 on Page 0 of Length 0x4: (Error -1202 @ 0x1845028) 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.0.569.0)C66xx_0: Trouble Reading Memory Block at 0x1845048 on Page 0 of Length 0x4: (Error -1060 @ 0x1845048) 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.0.569.0)C66xx_0: GEL: Error calling OnPreFileLoaded(): target access failed at (*((int *) (0x01840000+0x5048))&0x0001) [evmc6678l.gel:1883] at Invalidate_Cache() [evmc6678l.gel:678] at OnPreFileLoaded()
C66xx_0: Trouble Reading Memory Block at 0x800000 on Page 0 of Length 0x4: (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.0.569.0)C66xx_0: File Loader: Data verification failed at address 0x00800000 Please verify target memory and memory map.

Brighton Feng:

貌似核时钟不稳定,可以通过测试SYSCLKOUT来判断。

可能的原因包括:

1,输入时钟CORECLK

2,核电源CVDD。特别注意要与VCNTL[3:0]输出的要求一致

3,PLL电源AVDDA1

Junye Wang:

您好,我遇到了和您同样的问题,自制的6678板,加载gel时和您完全一样的错误。。。

请问您是怎么解决的呢?

赞(0)
未经允许不得转载:TI中文支持网 » C6678 GEL文件加载失败问题
分享到: 更多 (0)