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

通过CCS调试beaglebong black时出现错误,如何修改gel文件?

debug过程中出现错误,控制台信息如下,请问如何修改GEL文件,我的版本是,AM335X_StarterWare_02_00_00_07,这里面的tools->gel文件里是有beaglebone black.gel的。

CortxA8: Output: VTP is Ready!CortxA8: Output: DDR PHY CMD0 Register configuration is in progress …….CortxA8: Output: DDR PHY CMD1 Register configuration is in progress …….CortxA8: Output: DDR PHY CMD2 Register configuration is in progress …….CortxA8: Output: DDR PHY DATA0 Register configuration is in progress …….CortxA8: Output: DDR PHY DATA1 Register configuration is in progress …….CortxA8: Output: Setting IO control registers…….CortxA8: Output: EMIF Timing register configuration is in progress …….CortxA8: Trouble Writing Memory Block at 0x4c0000e4 on Page 0 of Length 0x4: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to write 0x4C0000E4 at *((unsigned int *) (0x4C000000+0x0E4))=(unsigned int) 0x07 [beagleboneblack.gel:265] at DDR3_EMIF_Config() [beagleboneblack.gel:354] at AM335x_BeagleBlack_Initialization() [beagleboneblack.gel:339] at OnTargetConnect() .
CortxA8: Trouble Writing Memory Block at 0x80000000 on Page 0 of Length 0x1f08: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.507.0)CortxA8: Unable to terminate memory download: NULL buffer pointer at 0x3a9f
CortxA8: GEL: File: C:\ti\AM335X_StarterWare_02_00_00_07\binary\armv7a\cgt_ccs\am335x\beaglebone\uart\uartEcho.out: Load failed.

Jian Zhou:

不知道有没有看过下面这篇文档:

http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/73955.aspx

Fei Zhang10:

回复 Jian Zhou:

你好,这个文档我看了,并且在startwar2.00.00 07上面修改了,就是修改之后也会出现这个错误我才问你们的。昨天又下载了最新的startware 并且打上了beaglebone black 的补丁(这次没有按照上述文档修改),同样会有问题。。。。

Fei Zhang10:

回复 wenjie xu1:

能详细的说一下吗?

wenjie xu1:

回复 Fei Zhang10:

先断电,按住s2键,上电就可以了

Fei Zhang10:

回复 wenjie xu1:

哦,你的意思就是不从eMMC启动嘛,我就是这样做的,只有这样才能连得上仿真器啊,但是这样之后也会出现GEL错误,需要修改的

wenjie xu1:

回复 Fei Zhang10:

我最初从eMMC启动时遇到和你一样的问题,改变启动顺序后就没有错误了

用的是starterware02.00.01.01打过补丁的

Fei Zhang10:

回复 wenjie xu1:

我只找到00版本的,也是打了补丁,麻烦能不能把链接给我一下呢

wenjie xu1:

回复 Fei Zhang10:

http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/starterware/latest/index_FDS.html

把patch也下下来

Fei Zhang10:

回复 wenjie xu1:

非常感谢您的帮忙

赞(0)
未经允许不得转载:TI中文支持网 » 通过CCS调试beaglebong black时出现错误,如何修改gel文件?
分享到: 更多 (0)