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.

Problems in CCS5.2 00044, BIOS6 and XDC

Other Parts Discussed in Thread: SYSBIOS

Dear All, 

We build an application whith the following properties: 1. Usingh tasks, 2. Using System_printf, 3. CCS5.2000044, 4 the configuration file name is bios6.cfg, and 5. target evm6472.  When building the configuration,  the folder named  F:\TI demo Version 0.8\RISC_Demo_EVM6472_Version_0.75\Release\configPkg\package\cfg has to be updated with the files having the prefix name bios6_pe64P such as: bios6_pe64P.c, bios6_pe64P.h. The files are built but they are not included in the project. If the files are already existing, they are deleted. 

Of course, this leads to compilation errors.

When inserting these files manually by "cut and paste" from the relevant folders, the compilation errors vanished. However, we find linker problems of undefined symbols; for example: ti_sysbios_BIOS_start__E , ti_sysbios_knl_Event_pend__E, ti_sysbios_knl_Event_post__E,  ti_sysbios_knl_Semaphore_Object__create__S, ti_sysbios_knl_Semaphore_pend__E, ti_sysbios_knl_Semaphore_post__E.  

t

  • I'm not sure what's going on with your CCS but typically you just need to include the *.cfg in your project and it should take care of all the generated files.  DO NOT ADD the generated files to your project manually.

    Now if that doesn't solve your problem, I suppose if you could, zip up your project or a cut down version of your project which can be used to reproduce the problem and I can take a look at my end.

    Judah

  • Dear Juda

    Thankyou for your answer. The cfg file is included in the project. 

    BTW, aer you a TI employee?

    THe project is confidential and we have an NDA with TI.

    Yehuda

  • Dr. Yehuda,

    If the *.cfg file is included in the project then you should not have to manually include any of the generated files.

    Yes, I am an employee of TI.

    I recommend you try to reproduce the problem with a cut down version (bare minimum) of the project and attach that instead of your real project.

    Judah

  • Dr. Yehuda,

    I took your project and tried to rebuild it.  I was not successful at rebuilding the entire project, but I was able to get to the linking stage and  I did not seeing any issue with redefines of BIOS symbols.

    A couple of things I noticed is that you have different linker.cmd files in your project.  Ideally, you should have maybe one additional linker.cmd which sets your own output sections that BIOS does not know about.  I did use a slightly earlier version of CCS v5.1.0 so that could potentially be a difference.

    I would recommend you try creating one of the BIOS examples from the CCS project to see if this works for you.

    Judah