TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

Using the Csl Library Examples

rated by 0 users
Not Answered This post has 0 verified answers | 8 Replies | 2 Followers

Top 500 Contributor
22 Posts
Community Member
MartinPotts posted on 1 Nov 2009 7:24 PM

I have tried to build several of the exalmpes. I imported all the examples into a project.

Here are the results of csl_gpt_example.

There are no errors or warnings.

What have I dome wrong?

**** Build of configuration Debug for project CSL_PLL_Example ****

 

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building file: ../csl_pll_example.c'

'Invoking: C5500 Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/bin/cl55" -vcore:3.3 -g --define="_DEBUG" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/include" --include_path="C:/Program Files/TMS320VC55XCSL-LOWPWR/VC5505_CSL/CCS_v4.0_Examples/pll/CSL_PLL_Example/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_40_03_23/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_40_03_23/packages/ti/rtdx/include/c5500" --include_path="C:/Program Files/Texas Instruments/xdais_6_23/packages/ti/xdais" --include_path="C:/Program Files/TMS320VC55XCSL-LOWPWR/VC5505_CSL/src" --include_path="C:/Program Files/TMS320VC55XCSL-LOWPWR/VC5505_CSL/inc" --diag_warning=225 --sat_reassoc=off --large_memory_model --ptrdiff_size=32 --fp_reassoc=off --algebraic --asm_source=algebraic --preproc_with_compile --preproc_dependency="csl_pll_example.pp" "../csl_pll_example.c"

The current directory is invalid.

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [csl_pll_example.obj] Error 1

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project CSL_PLL_Example

All Replies

Top 500 Contributor
24 Posts
Texas Instruments Employee

Hi Martin,

Using the CSL examples in CCS 4.0 will need some special instruections. Please refer to the release note (ReleaseNotes_C5505_CSL_1_0_20091012.pdf) under the installation folder (TMS320VC55XCSL-LOWPWR) for details. It is in Section 3.4.

Best regards,

Ming

Top 500 Contributor
22 Posts
Community Member

Thank you for the reply.

I have been thru the procedure severat times. Referencing the doc in your reply.

I end at the exact same screen as you show in fig 5 on page 27. However it does not build so I don't have fig 6 on page 28..

Martin

Top 500 Contributor
24 Posts
Texas Instruments Employee

Hi Martin,

There are several possibilities which cause the problem you saw. Please try the following:

1. Uninstall the CSL and delete the whole c:\Program Files\TMS320VC55XLOWPWR folder.

2. Reinstall the CSL

3. Select c:\Program Files\TMS320VC55XLOWPWR\VC5505_CSL as your workspace, when launch CCS 4.0

4. Import all the CCS 4.0 projects by choosing c:\Program Files\TMS320VC55XLOWPWR\VC5505_CSL as your root directory for import projects

5. Set VSL_PLL_Example as your active project.

6. Build Active project.

Please let us know how it goes.

 

Ming

Top 500 Contributor
22 Posts
Community Member

I did as instructed   1 uninstall,   2 reinstall,   3 launch ccs 4.0. did not get a chance to choose workspace had to switchworkspace and the correct file was in the browse field. in step 4 i cound not import but the projects were all in the cc++ list . i selected the csl Pll Example and built the project. Got the same results. tried several other changes using TI xxxx emulater with usbstk5505 and alway got the same answer. The file for csl pll had today date so i asume to load went correctlly

Top 500 Contributor
24 Posts
Texas Instruments Employee

Hi Martin,

Because all the example projects depend on CSL project., it will be convenient to import all the project into your workspace in one time. By default, once you select the root directort, all the projects will be selected (checked). If not please choose "select all", then continue. CCS 4.0 will import all the projects into your workspace. In your C++ project view, you can set the PLL example as your active project, then build it.

Ming

Top 500 Contributor
22 Posts
Community Member

Yes I have done all of that, in a previous post i showed the errors, basicaly the project "PLL" is built with no errors but there is no obj to  build to load. A question I have is that Spectrum Digital instructs after building the configuration the configuration should be launched. In the project list the configuration is active does it need to be launched. What happens when a config is built and made active? What happens when the config is launched?

Thanks

Top 500 Contributor
24 Posts
Texas Instruments Employee

Hi Martin,

Unlike CCS 3.3, in CCS 4.0, the project build has nothing to do with the target configuration. When the target configuration file is launched, the CCS debugger is actually connect to the target device (defined by the target configuration file), then you can load and debug the code on the device.

Which CCS 4.0 version are you using right now? Is it from the DVD in the USB Stick box? If yes, please try to use the following URL to download the formal release of the CCS 4.0:

http://focus.ti.com/docs/toolsw/folders/print/ccstudio.html

Please download the TMDSCCS-HWN01A version

 

Ming

Top 500 Contributor
22 Posts
Community Member

Thanks.

I downloaded as suggested, downloaded the csl again. loaded the code and built PLL.

Everything worked great.

Sorry to be such a pain but I was determined to make it work,

Thanks again

Martin

Page 1 of 1 (9 items) |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.