在使用CCS5.4版本 debug的时候,出现下面的错误:
Can't find a source file at "/tmp/TI_MKLIBY3IR8e/SRC/exit.c"
Locate the file or edit the source lookup path to include its location.
然后程序终止 求怎么解决,谢谢你!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在使用CCS5.4版本 debug的时候,出现下面的错误:
Can't find a source file at "/tmp/TI_MKLIBY3IR8e/SRC/exit.c"
Locate the file or edit the source lookup path to include its location.
然后程序终止 求怎么解决,谢谢你!
这个案例中,最后的答案也是这样说的:
My suggestion is to just ignore the warning. Your program has halted in the C runtime support library (specifically at a breakpoint that CCS sets at the end of program label). The runtime support library is a standard C library that contains functions that are used by all programs. When the program halts CCS tries to open the source for the location that the program has halted. It is not able to find the source for this location so it shows that prompt to locate the source. However you do not have the source so I would just ignore the message.
Future versions of the compiler may include extracted versions of the source so that you would see the source automatically when halting in the runtime support library.
就是说这不是一个错误,可以忽略这个提示的。
你好,我这边不能忽略,因为忽略了 程序下载不进去。我用nandwriter下载程序到板子上,出现这个错误就下不进去,板子重启后没有运行起来,同样的BIN文件,用4。2的CCS就可以下载,不会有这个错误,但是另外一个代码又必须要用5.0以上的。所以还是要知道原因才行解决,不然5.0版本的用不了。。
另外的代码连接:
http://www.deyisupport.com/question_answer/dsp_arm/omap_l1x/f/54/p/69254/164986.aspx#164986
CCS5.4调试时出现“can't find a source file at/tmp/TI_MKLIBY3IR8e/SRC/exit.c“错误,单步调试发现是内存分配有问题造成的,所以就有一个问题,如何分配内存?能不能像CCS3.3那么方便设置IRAM和SDRAM呢?
另一个问题是如何向CCS3.3那样使用锁,来保证共享区域操作时出错?为什么不能用LCK_creat、LCK_pend、LCK_post?这几个函数在ti.bios.include目录下。
哥们,你这个问题解决了吗?我也是出现这种问题,exit.c,求指导