嵌入式开发者社区

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

作者: bigrao    时间: 2017-2-8 22:15
标题: omapl138开发板,ccs连接开发板,加载GEL文件失败
本人所用的是omapl138开发板,在进行基于仿真器的程序加载和烧写的过程中出现了一些问题
6 ~' J8 T, I  e" A: j当CCS连接开发板CPU时,ccs显示已经和CPU正常连接起来了, J! s2 k2 I8 }7 A
[attach]1945[/attach]
0 U8 L) h2 Q& \( H! }, h但是console窗口打印出来的信息显示不正常, o2 z9 `6 r' O/ Y( @- v2 a) \: b" F
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
4 R3 ]6 _$ Y5 Z: n

作者: bigrao    时间: 2017-2-8 22:20
楼上最后粘贴的打印信息不全,更改为:7 c" `- a  e+ C% d6 n6 h
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)
& l4 s7 G) S/ K% P* C: F
作者: human    时间: 2017-2-9 09:04
参考常见问题解决办法
作者: bigrao    时间: 2017-2-9 11:14
工程师,你好,在常见问题手册上并没有看到类似的解决办法。因为console窗口打印的信息是错误发生在TargetConnect上,所以我觉得会不会是板子上的引脚有问题,或者gel文件有问题。
" V, E' x1 G' s8 Y. i% V# c6 rARM9_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() .
2 Z8 P3 T+ J! r; ]6 d
作者: bigrao    时间: 2017-2-9 15:33
问题解决了,原来常见问题手册的第一页就有说明,按照上面的设置就把问题解决了,TI的官方论坛上对这个问题讨论得比较清楚,建议大家学习一下http://e2e.ti.com/support/dsp/om ... f/42/p/84460/291293
+ T; r; w# O, ^) g/ ~5 M好羞愧呀,以后还是认真阅读完手册再提问吧# z1 x) D8 ?6 H0 ?/ J- l9 V7 G. ]
5 i. D. ^/ n% q( `

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




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