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.

CCS v6程序烧写出警告



使用CCS v6烧写TSM320F28027的时候出现如下警告:

waring:entry_point symbol other than "c_int00" specified:"code_start"

请教这个会影响程序烧写吗?

  • 官方的文档《2802x C/C++ Header Files and Peripheral Examples Quick Start》中有这样一段:

    When I build the examples, the linker outputs the following: warning: entry point other than _c_int00 specified. What does this mean?
    This warning is given when a symbol other then _c_int00 is defined as the code entry point of the project. For these examples, the symbol code_start is the first code that is executed after exiting the boot ROM code and thus is defined as the entry point via the –e linker option. This symbol is defined in the DSP2802x_CodeStartBranch.asm file. The entry point symbol is used by the debugger and by the hex utility. When you load thecode, CCS will set the PC to the entry point symbol. By default, this is the _c_int00 symbol which marks the start of the C initialization routine. For the DSP2802x examples,the code_start symbol is used instead. Refer to the source code for more information.

  • 请查看附图中说明

  • 没关系;

    1. 在<DSP2802x_CodeStartBranch.asm>  的注释中有详细的解释;

    2. 参考解决方法:http://www.deyisupport.com/question_answer/w/faq/266.aspx

  • ;// The compiler may warn that the entry point for the project is other then
    ;//  _c_init00.  _c_init00 is the C environment setup and is run before
    ;// main() is entered. The code_start code will re-direct the execution
    ;// to _c_init00 and thus there is no worry and this warning can be ignored.

    code_start中会再次指向_c_init00,因此不需要担心这个警告,可以忽略。