Hi,
I found some example programs for DSK6713, and attempted to compile on Code Composer v5.1. Code Composer allowed me to
"Import Legacy CCSv3.3 Project". Could not import as existing project.
Anyway, the project built, but had warnings:
-----------------------------------------------------------------------------------------------------------------------------------------Build variable 'C6000_CSL_CG_ROOT' cannot be resolved. led properties TI Problem MarkerBuild variable 'CCSv3_INSTALL_ROOT' cannot be resolved. led properties TI Problem Marker
-----------------------------------------------------------------------------------------------------------------------------------------
What should I set these build variables to? Especially C6000_CSL_CG_ROOT?
I don't have CCSv3.3 installed, so I don't think I need to set CCSv3_INSTALL_ROOT?
thanks,
Selwyn
Hi Selwyn,
could you please provide further details on how you tried to import the project and exactly what errors you recieved?
Have a look at this wiki and check the include paths. You are correct, it appears a could build variables may need to be fixed. Unfortunately this is the situation in some import cases.
Best Regards,Lisa
Here is the link to the mentioned wiki ...
http://processors.wiki.ti.com/index.php/Include_paths_and_options
Hi Lisa,
The example project I tried to build was old. It was the "Target Content" zip file from
http://c6000.spectrumdigital.com/dsk6713/. According to its README, the examples are for CCS v3.0, so not surprising it does
not port properly. The project I tried to build is "\DSK6713\examples\dsk6713\bsl\led\led.pjt". From CCSv5.1, I tried to execute
"Project->Import Legacy CCSv3.3 Project".
I got the following error and warnings:
Description Resource Path Location Type#5 could not open source file "dsk6713.h" led.c /led line 36 C/C++ ProblemBuild variable 'C6000_CSL_CG_ROOT' cannot be resolved. led properties TI Problem MarkerBuild variable 'C6000_CSL_CG_ROOT' cannot be resolved. led properties TI Problem MarkerBuild variable 'CCSv3_INSTALL_ROOT' cannot be resolved. led properties TI Problem MarkerBuild variable 'CCSv3_INSTALL_ROOT' cannot be resolved. led properties TI Problem MarkerInvalid project path: Include path not found (\c6000\dsk6713\include). led pathentry Path Entry ProblemInvalid project path: Include path not found (\include). led pathentry Path Entry Problem
Please note I do not have CCSv3.3 installed, only CCSv5.1.
Thanks,
what steps did you take/options did you select in the import wizard? Do you have the latest released 5.1.1 version of CCS? I just tried to reproduce this, but had no problems to import and build the project. I did get a log basically warning me the project had been migrated to newer tools etc but could import the example.
HI Selwyn,
I have now managed to see what you are experiencing. Let me look into the warnings and get back to you as soon as I have any feedback.
Best Regards,
Lisa
first of all, if you do not want to keep a v3 installation alongside v5, then you will need to install CSL separately and point v5 to it since v4 and v5 do not come with the CSL libraries. Have a look at this migration wiki.
http://processors.wiki.ti.com/index.php/Importing_CCSv3_Projects_into_CCSv4#CSL_and_XDAIS
This is where CSL can be downloaded from:
http://processors.wiki.ti.com/index.php/Chip_support_library
The above migration wiki should help get rid of most of the path/build warnings/problems. The remaining one should simply be to correct to the CCS installation root instead of CCSv3 installation rool. This wiki should help with that
Please keep us informed.
thank you for the advice. Now I successfully built an example DSK6713 program. You were right, I did not have the chip support libraries, so I downloaded them for the C6000 architecture. The download file is sprc090.zip. The documentation said sprc090.zip supported up to Windows XP. But I have Windows 7. Seems ok.
Installed in C:\ti\C6xCSL. I then chose timer example program for DSK6713. Imported as Legacy CCSv3.3 project. Could not resolve build variable C6000_CSL_CG_ROOT. Set C6000_CSL_CG_ROOT = C:\ti\C6xCSL.
Still had build error. Could not find CSL6713.lib. Turns out the linker search path had to be changed, because the C6xCSL directory did not have a "lib" directory. It had lib_2x and lib_3x directories. So under the properties for the project, I went to C6000 Linker->File Search Path->--search_path, and changed ${C6000_CSL_CG_ROOT}/lib to ${C6000_CSL_CG_ROOT}/lib_3x. I chose lib_3x because I am using CCSv5.1. Hopefully this is correct? I still get these warnings:
Description Resource Path Location Type#10210-D creating ".stack" section with default size of 0x400; use the timer1 C/C++ Problem#10210-D creating ".sysmem" section with default size of 0x400; use timer1 C/C++ Problem
What do these mean?
you are getting these warnings because you did not explicitly specify to the linker where to locate these two sections that were generated. In such cases, the linker place it in the default location and allocate the default size for it.
Hope this helps explain.