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.

How to include the BIOS-generated linker command file?

Other Parts Discussed in Thread: CCSTUDIO

Hello,

I had problems in compiler  and the window showed me the following problems.

problem said:

Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "E:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section .gblinit without SECTIONS specification
>> warning: creating output section .mem without SECTIONS specification
>> warning: creating output section .rtdx_data without SECTIONS specification
>> warning: creating output section .sys without SECTIONS specification
>> warning: creating output section .clk without SECTIONS specification
>> warning: creating output section .hst1 without SECTIONS specification
>> warning: creating output section .hst without SECTIONS specification
>> warning: creating output section .pip without SECTIONS specification
>> warning: creating output section .hst0 without SECTIONS specification
>> warning: creating output section .hwi_vec without SECTIONS specification
>> warning: creating output section .swi without SECTIONS specification
>> warning: creating output section .printf without SECTIONS specification
>> warning: creating output section .sts without SECTIONS specification
>> warning: creating output section .tsk without SECTIONS specification
>> warning: creating output section .TSK_idle$stk without SECTIONS specification
>> warning: creating output section .idlcal without SECTIONS specification
>> warning: creating output section .idl without SECTIONS specification
>> warning: creating output section .LOG_system$buf without SECTIONS
            specification
>> warning: creating output section .log without SECTIONS specification
>> warning: creating output section .sysinit without SECTIONS specification
>> warning: creating output section .vers without SECTIONS specification
>> warning: entry point symbol _c_int00 undefined

undefined                        first referenced
 symbol                              in file
---------                        ----------------
SWI_D_rdytab                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IRAM$B                           E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_EXC_init                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_GBL_procId                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
__HOOK_knlId                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_KNL_exit                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IRAM$L                           E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
TSK_VCREATEFXN                   E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_UTL_doError                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
PIP_F_start                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
GBL_boot                         E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
TSK_VDELETEFXN                   E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
KNL_glue                         E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_UTL_doAbort                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_HSRTDX_xmt                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IDL_F_loop                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_DFLTMICROSECS               E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_GBL_cacheInit64P                E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_EXC_dispatch                    E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_htimePerLtime               E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
GBL_stackbeg                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_D_tddr                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_UTL_doPutc                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_MEM                             E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
PRD_F_tick                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
__HOOK_NUMHOOKS                  E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_D_microseconds              E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
RTA_F_or                         E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
TRC_R_mask                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
GBL_stackend                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_c_int00                         E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK_config                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_OBJ_table                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
HWI_A_VECS                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_FXN_F_nop                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_enableTimer                 E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_D_prd                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IDL_D_calibrate                  E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK                             E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_KNL_run                         E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
LNK_dspFrameRequestMask          E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
CLK_F_isr                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
PIP_D_tabbeg                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
TRC_cinit                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_UTL_halt                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_MEM_init                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
RTA_F_dispatch                   E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK_startup                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK_setup                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_KNL_queues                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
CLK_A_TABBEG                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
LNK_F_dataPump                   E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
TSK_VEXITFXN                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
HWI_F_dispatch                   E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_RTDX_Poll                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK_init                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IDL_D_busyObj                    E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_TSK_exit                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
SWI_F_enable                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
FXN_F_run                        E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_HSRTDX_rec                      E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_GBL_getVersion                  E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_CLK_inputClock                  E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
GBL_initdone                     E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_HWI_dispatchTab                 E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
LNK_dspFrameReadyMask            E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
IDL_F_busy                       E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Configuration4cfg.obj
_printf                          E:\\CCStudio_v3.3\\MyProjects\\tutorial\\trace\\64x\\Li2\\Debug\\Probieren.obj
>>   error: symbol referencing errors - './Debug/Li2.out' not built

>> Compilation failure

Build Complete,

  2 Errors, 23 Warnings, 0 Remarks.

 

And also in forum said Tim to someone that include the BIOS-generated linker command file.

 

Can somebody tell me how can i include the BIOS-generated command file?

 

Best Greeting

Li,Liangjie

  •      I don't understand what you mean exactly? Do you mean attach here the tcf file? Just edit it with notepad and copy/paste here.

          Seeing the error that CCS gives to you, I see that you don't have .cmd file to map the variables, constant... etc to the memory, so you will have a problem there.

  • Hi Li,

    I recommend you to read DSP/BIOS User's Guide .  In section 2.4 of this document, it introduces some information on how to add some files about bios to CCS.

    If you just want to know how to add cmd file to your CCS project, this subsequence below maybe help you:

    1) open your ccs and then your project.

    2) "right" click on your project file (for example hello.pjt)

    3) select add files

    4) To browse your cmd file and click ok.

    I hope this will help you.

  • To Lorry: Thanks a lot for you suggestion. I have fixed this problem. 

    One Question more: I have had never problem with include BIOS-generated linker command file with CCS 3.1. The two version have big different?

    Best Greeting

     

    Li,Liangjie

  • Li , frankly I did not use CCS3.1 before, I usually use CCS3.3, so I do not know more about CCS3.1, I hope TI experts will help you to answer your question.

    Sorry about that.

  • The BIOS generated linker command file should be automatically included (in 3.3 and 3.1), it should show up under the generated files heading in the project listing, it sounds like a glitch if it was not already in there for your particular project forcing you to have to add it manually.

    Also, for a quick way to add this type of file as well as others to your project, you can just drag and drop the file into your project listing

  • Bernie Thompson said:

    The BIOS generated linker command file should be automatically included (in 3.3 and 3.1), it should show up under the generated files heading in the project listing, it sounds like a glitch if it was not already in there for your particular project forcing you to have to add it manually.

    Also, for a quick way to add this type of file as well as others to your project, you can just drag and drop the file into your project listing

    I think it was BIOS 5 that changed this behavior. DSP/BIOS-generated command files are not automatically added to the project in case a secondary command file is to be used instead. If a secondary file is added it will link in the first via something like -l bioscommandfile.cmd

  • hello Liangjie Li :

     

    I  m having the same problem as u had and then u resolved.

    kindly let me know how u solved that .is there some version incompatibilty issues if any plz tell me how to upgrade.

    thanks a lot

    plz reply as soon as possible

     

  • Hi kamran,

    The problem that Liangjie Li was having was solved by adding the tcf file as described in the posts above, is that what you are asking?