打印
[技术求助]

这个警告是什么原因

[复制链接]
572|29
手机看帖
扫描二维码
随时随地手机跟帖
沙发
jiahy| | 2019-9-22 15:07 | 只看该作者
自己到网上查一下   很多特定的问题大家其实也没遇到过

使用特权

评论回复
板凳
wuhany| | 2019-9-22 15:10 | 只看该作者
从字面上讲, 是个不合法的程序入口点

使用特权

评论回复
地板
wuhany| | 2019-9-22 15:13 | 只看该作者
估计是编译环境和配置方面的问题, 或者启动文件弄错了

使用特权

评论回复
5
zhenykun| | 2019-9-22 15:17 | 只看该作者
这个真不好说,最好看看你的程序再说吧

使用特权

评论回复
6
shimx| | 2019-9-22 15:23 | 只看该作者
什么MCU或者软件的警告;

使用特权

评论回复
7
lizye| | 2019-9-22 15:26 | 只看该作者
如果在纯汇编的程序下如果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

使用特权

评论回复
8
lizye| | 2019-9-22 15:29 | 只看该作者
        其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。

使用特权

评论回复
9
heweibig|  楼主 | 2019-9-22 15:34 | 只看该作者
嗯,我再好好缕一缕吧,有了好消息及时通知大家,结贴喽

使用特权

评论回复
10
sensitivity| | 2019-9-24 14:45 | 只看该作者
中断入口错误?

使用特权

评论回复
11
kkzz| | 2019-10-2 10:39 | 只看该作者
在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除,就不会产生该警告了  

使用特权

评论回复
12
hudi008| | 2019-10-2 10:39 | 只看该作者
在“TMS320C6000优化汇编手册”第五章“链接C/C++代码”有一段关于_c_int00符号的说明。  

使用特权

评论回复
13
lzmm| | 2019-10-2 10:39 | 只看该作者
消除警告的方法在 Linker选项下面选择No Autoinitialization.  

使用特权

评论回复
14
minzisc| | 2019-10-2 10:40 | 只看该作者
在build option里去掉了 code start      

使用特权

评论回复
15
selongli| | 2019-10-2 10:40 | 只看该作者
默认情况下,28xx的C语言程序代码入口应该是_c_int00  

使用特权

评论回复
16
fentianyou| | 2019-10-2 10:41 | 只看该作者
不用管它,警告不影响使用。        

使用特权

评论回复
17
xiaoyaodz| | 2019-10-2 10:41 | 只看该作者
在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除  

使用特权

评论回复
18
febgxu| | 2019-10-2 10:42 | 只看该作者
关键问题就出现在LINKER下的CODE ENTRY POINT     

使用特权

评论回复
19
sdlls| | 2019-10-2 10:42 | 只看该作者
LINKER的autoint model设置不对会出现      

使用特权

评论回复
20
pixhw| | 2019-10-2 10:42 | 只看该作者
其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。  

使用特权

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

本版积分规则

869

主题

13089

帖子

7

粉丝