嵌入式开发者社区

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

作者: bigrao    时间: 2017-2-8 22:15
标题: omapl138开发板,ccs连接开发板,加载GEL文件失败
本人所用的是omapl138开发板,在进行基于仿真器的程序加载和烧写的过程中出现了一些问题
  s+ R6 L- E# u7 {) L2 d/ {当CCS连接开发板CPU时,ccs显示已经和CPU正常连接起来了
; H9 W) c3 \' c9 |0 D[attach]1945[/attach], K- Q# d  R  ^3 w5 h
但是console窗口打印出来的信息显示不正常
% e7 N9 J+ d4 ?+ I! e8 @) [
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

" x( d5 D: x7 C  g9 U
作者: bigrao    时间: 2017-2-8 22:20
楼上最后粘贴的打印信息不全,更改为:, h  |9 K4 `; W# X
ARM9_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) 7 M$ i4 Y2 K/ h# V5 p" q

作者: human    时间: 2017-2-9 09:04
参考常见问题解决办法
作者: bigrao    时间: 2017-2-9 11:14
工程师,你好,在常见问题手册上并没有看到类似的解决办法。因为console窗口打印的信息是错误发生在TargetConnect上,所以我觉得会不会是板子上的引脚有问题,或者gel文件有问题。' ]9 I) j7 k: Y4 ?- }
ARM9_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() .! h' v' f( ?! N

作者: bigrao    时间: 2017-2-9 15:33
问题解决了,原来常见问题手册的第一页就有说明,按照上面的设置就把问题解决了,TI的官方论坛上对这个问题讨论得比较清楚,建议大家学习一下http://e2e.ti.com/support/dsp/om ... f/42/p/84460/291293
8 D* P+ k5 M( B+ W8 |' m6 P好羞愧呀,以后还是认真阅读完手册再提问吧, ^4 o7 g+ g/ W9 t
# G* Q* B$ Z4 ~3 G

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




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