嵌入式开发者社区

标题: omapl138开发板,ccs连接开发板,加载GEL文件失败 [打印本页]

作者: bigrao    时间: 2017-2-8 22:15
标题: omapl138开发板,ccs连接开发板,加载GEL文件失败
本人所用的是omapl138开发板,在进行基于仿真器的程序加载和烧写的过程中出现了一些问题0 P  `" G) D4 d) L) N( x) e- _
当CCS连接开发板CPU时,ccs显示已经和CPU正常连接起来了
& M' m' w$ H& u0 l# k[attach]1945[/attach]
/ o7 a; w2 m2 g6 U+ u但是console窗口打印出来的信息显示不正常7 `! [/ r1 J4 L3 ?' ~: J- |- @* a
ARM9_0: Output:   Target Connected.
ARM9_0: Output:   ---------------------------------------------
ARM9_0: Output:   Memory Map Cleared.
ARM9_0: Output:   ---------------------------------------------
ARM9_0: Output:   Memory Map Setup Complete.
ARM9_0: Output:   ---------------------------------------------
ARM9_0: Output:   PSC Enable Complete.
ARM9_0: Output:   ---------------------------------------------
ARM9_0: GEL: Error while executingOnTargetConnect(): Target failed to write 0x01C11138    at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [omapl138.gel:25]  at device_PLL0(0, 18, 0, 0, 1, 3, 9)[omapl138.gel:426]          atSet_Core_456MHz() [omapl138.gel:443]       atCore_456MHz_DDR2_156MHz() [omapl138.gel:261]      atCPU_PLL_PSC_DDR_Init() [omapl138.gel:251]      atOnTargetConnect() .
于是加载文件烧写程序时就打印出下面的信息,无法进行下一步操作了
ARM9_0: Trouble Removing Breakpoint with the Action "Finish Auto

8 J; M0 J8 [$ X$ n  C5 a( b
作者: bigrao    时间: 2017-2-8 22:20
楼上最后粘贴的打印信息不全,更改为:
+ p; @( n  {  t* h; l: |- y; rARM9_0: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0xc0005b70: (Error -1066 @ 0x3332) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.1.232.0) * M5 V* u* G" u, Z# R% |. y

作者: human    时间: 2017-2-9 09:04
参考常见问题解决办法
作者: bigrao    时间: 2017-2-9 11:14
工程师,你好,在常见问题手册上并没有看到类似的解决办法。因为console窗口打印的信息是错误发生在TargetConnect上,所以我觉得会不会是板子上的引脚有问题,或者gel文件有问题。
# b0 l/ z% a6 p! k+ R/ xARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138         at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [omapl138.gel:25]         at device_PLL0(0, 18, 0, 0, 1, 3, 9) [omapl138.gel:426]         at Set_Core_456MHz() [omapl138.gel:443]         at Core_456MHz_DDR2_156MHz() [omapl138.gel:261]         at CPU_PLL_PSC_DDR_Init() [omapl138.gel:251]         at OnTargetConnect() ." \- u) l& x0 P8 U

作者: bigrao    时间: 2017-2-9 15:33
问题解决了,原来常见问题手册的第一页就有说明,按照上面的设置就把问题解决了,TI的官方论坛上对这个问题讨论得比较清楚,建议大家学习一下http://e2e.ti.com/support/dsp/om ... f/42/p/84460/291293" Z, ^7 s3 T# X" Q& k
好羞愧呀,以后还是认真阅读完手册再提问吧- q3 r9 z9 t. Y8 W2 b( t) l
) M' m9 I% w! e7 @

作者: 17390601072    时间: 2019-5-7 13:31
哈哈,我也出了这个问题,没看手册,看到了这个帖子,同感羞愧




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4