打印
[技术求助]

问个郁闷的问题

[复制链接]
1254|9
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mentoscui|  楼主 | 2012-10-29 17:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
mentoscui|  楼主 | 2012-10-29 17:21 | 只看该作者
谁能告诉我是什么原因?

使用特权

评论回复
板凳
hawksabre| | 2012-10-29 17:30 | 只看该作者
自己到网上查一下   很多特定的问题大家其实也没遇到过   呵呵   对不住  没能帮到你   希望你解决了能够共享一下

使用特权

评论回复
地板
airwill| | 2012-10-29 19:38 | 只看该作者
从字面上讲, 是个不合法的程序入口点.
估计是编译环境和配置方面的问题, 或者启动文件弄错了

使用特权

评论回复
5
czdo| | 2012-10-29 20:35 | 只看该作者
版主真的很热心,赞一个

使用特权

评论回复
6
happy啦啦啦| | 2012-10-29 21:10 | 只看该作者
这个真不好说,最好看看你的程序再说吧

使用特权

评论回复
7
happybird21| | 2012-10-29 21:12 | 只看该作者
很多原因的,没有程序不好理解

使用特权

评论回复
8
springspring| | 2012-10-29 21:20 | 只看该作者
不知道,说不清啊

使用特权

评论回复
9
lasbell2012| | 2012-10-29 21:22 | 只看该作者
这个还真不好说

使用特权

评论回复
10
superman2012| | 2012-10-29 23:06 | 只看该作者
如果在纯汇编的程序下如果LINKER的autoint model设置不对会出现,但是TI给的例子中并不是纯汇编的程序,但是也出现这个警告,关键问题就出现在LINKER下的CODE ENTRY POINT 这个选项上,他设置了一个启动地址,并且这个启动地址不是_c_int00,其实默认不添就是从这个地方启动的,这段是TI帮助里的:The memory address at which a program begins executing is called the entry point. When a loader loads a program into target memory, the program counter (PC) must be initialized to the entry point; the PC then points to the beginning of the program.
The linker can assign one of four values to the entry point. These values are listed below in the order in which the linker tries to use them. If you use one of the first three values, it must be an external symbol in the symbol table.
?The value specified by the -e option. The syntax is:
-e global_symbol
where global_symbol defines the entry point and must appear as an external symbol in one of the input files.
?The value of symbol _c_int00 (if present). The _c_int00 symbol must be the entry point if you are linking code produced by the C compiler.
?The value of symbol _main (if present)
?0 (default value)
This example links file1.obj and file2.obj. The symbol begin is the entry point; begin must be defined as external in file1 or file2.
cl2000 -v28 -z -e begin file1.obj file2.obj
        其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

10

主题

176

帖子

0

粉丝