嵌入式开发者社区

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

作者: bigrao    时间: 2017-2-8 22:15
标题: omapl138开发板,ccs连接开发板,加载GEL文件失败
本人所用的是omapl138开发板,在进行基于仿真器的程序加载和烧写的过程中出现了一些问题
6 k' z/ i3 e$ C4 U9 z当CCS连接开发板CPU时,ccs显示已经和CPU正常连接起来了$ F+ ^5 v4 a6 R* y: P% P
[attach]1945[/attach]1 x5 s, D1 ^, k2 U  _
但是console窗口打印出来的信息显示不正常
4 H$ e0 n) w+ u
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

, p6 p( h( J% ]# C: j. _+ H  y4 H
作者: bigrao    时间: 2017-2-8 22:20
楼上最后粘贴的打印信息不全,更改为:+ t. E, ]0 u  Y5 c
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) ' B. t7 t) ^% K9 w

作者: human    时间: 2017-2-9 09:04
参考常见问题解决办法
作者: bigrao    时间: 2017-2-9 11:14
工程师,你好,在常见问题手册上并没有看到类似的解决办法。因为console窗口打印的信息是错误发生在TargetConnect上,所以我觉得会不会是板子上的引脚有问题,或者gel文件有问题。
9 ~: M% y$ A6 a$ x" \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() .
' E. h6 T+ [  @. h
作者: bigrao    时间: 2017-2-9 15:33
问题解决了,原来常见问题手册的第一页就有说明,按照上面的设置就把问题解决了,TI的官方论坛上对这个问题讨论得比较清楚,建议大家学习一下http://e2e.ti.com/support/dsp/om ... f/42/p/84460/291293+ |3 n  s2 X8 e5 G
好羞愧呀,以后还是认真阅读完手册再提问吧) a$ H! y+ |: {/ |
" e& S5 i* W0 F! I9 |% `; x/ u7 `

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




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