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.

cssv3.3 to cssv4 dsk6455

Other Parts Discussed in Thread: CCSTUDIO

I am working with DSK6455. The cd came with ccsv3.3 and example codes. I have now upgraded css to v4 and was trying to run the led project (). I followed the migration steps by selecting Project -> Import Legacy CCSv3.3 Project. I then modified 'linker.cmd' as directed in the migration.log file. It asked me to comment out line 16 of linker.cmd which I did. Now when I try to build it, it gives the following errors-

1. errors encountered during linking: : .../led.out not built

2. unresolved symbol _BCACHE_bootInit, first referenced in C:/.../bios_5_41_02_14/packages/ti/bios/lib/bios.a64P<boot.o64P>

Any help appreciated

Thanks

  • Satish,

    I noticed that the error occurs when the original BIOS generated files are still present in the project directory. Somehow BIOS is picking up these files instead of the ones generated by the new version.

    So, to get rid of this issue please remove the following files from the directory C:\CCStucio_v3.3\boards\dsk6455_v2\examples\led:

    <ledcfg.cmd>

    <ledcfg.h>

    <ledcfg.h62>

    <ledcfg.s62>

    <ledcfg_c.c>

    After removing these, you should be able to rebuild the project successfully.

    Hope this helps,

    Rafael

     

  • Hello Rafael,

    Thanks for the reply. As suggested, I removed the files and tried to build again. But it returned the same errors. Below are the contents of 'migration.log'.

    -----------------

    !WARNING: File 'linker.cmd' explicitly references a TConf-generated linker-command file (line 16). Please remove this reference when migration completes - CCS now automatically handles generated files during project-build.


    !CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C6000.Debug.1230391013' [Fri Jun 25 20:05:04 EDT 2010]

        !TOOL: 'com.ti.ccstudio.buildDefinitions.C6000_6.1.exe.compilerDebug.1916208915'

            !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C6000_6.1.exe.compilerDebug.1916208915::-mr1

            !WARNING: Reference to the legacy 'Install_dir' macro detected.  This reference has been replaced with new macro 'CCSv3_INSTALL_ROOT', resolving to a local CCSv3.x installation which has been found at 'C:/CCSTUD~1.3' (Window > Preferences > C/C++ > Managed Build > Macros).  It is recommended, however, that you do not reference any resources from the legacy CCSv3.x installation - consider copying these resources into a product-independent location, and referencing them using a new user-defined macro.

            !WARNING: Reference to the legacy 'Install_dir' macro detected.  This reference has been replaced with new macro 'CCSv3_INSTALL_ROOT' (Window > Preferences > C/C++ > Managed Build > Macros).  It is recommended, however, that you do not reference any resources from the legacy CCSv3.x installation - consider copying these resources into a product-independent location, and referencing them using a new user-defined macro.
    -------------------

     

    Also, are examples for dsk6455 developed in cssv4 available? Thanks for your assistance.

     

    Satish

     

     

  • Satish,

    Satish Iyengar said:

    Thanks for the reply. As suggested, I removed the files and tried to build again. But it returned the same errors. Below are the contents of 'migration.log'.

    The contents of the migration log are the same in my machine, and for this specific project the first warning is the only one that influences this build. 

    Just as a cleanup check, what is the exact CCS version, BIOS and procedure you are following?  I am using CCSv4.1.2.00027 and BIOS 5.41.02.14.

    - I first downloaded and installed the DSK6455 projects from Spectrum Digital support website (http://support.spectrumdigital.com),

    - Imported the project to CCSv4 (using menu Project -> Import Legacy CCSv3.3 Project and checking the box "Keep original location for each project" and "Create a subfolder for each Eclipse project")

    - I then removed the line "-l ledcfg.cmd" from the <linker.cmd> file.

    - Opened windows explorer, browsed to the directory and removed the files I mentioned before (actually only the <ledcfg.cmd> fails).

    - Finally I did a "Clean Project" and a "Build Project".

    Satish Iyengar said:

    Also, are examples for dsk6455 developed in cssv4 available? Thanks for your assistance.

    I don't think so. The examples you are using are provided by Spectrum Digital and the only ones I see available are at their support website.

    Rafael

     

  • Hello Rafael,

     

    I am using the same versions (CSS v4.1.200027, BIOS 5.41.02.14). I have followed the exact steps as you have mentioned. I even deleted the entire 'examples' folder (which contained  led example) from CSSv3.3 installation. I am using Windows 7. Could that be an issue?

    Also, in addition to the two errors above, I get the following warning:

    symbol "CLK_F_gethtime" from file "C:/Satish/CCS/bios_5_41_02_14/packages/ti/bios/lib/biosTCI6482.a64P<clk_get htime.o64P>" being redefined

    Thanks for the help.

     

    Satish

  • i had the same as your problem Satish and did  exactly as Rafael said and now my project is successfully  built