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.

Using the Csl Library Examples

Other Parts Discussed in Thread: TMS320C5515

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Hello,

    I have the same problem but I have a CCS 4.1 unless 4.0.

    My CCS was delivered with the EVM5515 evaluation module.

    How can I execute the CSL library examples ?

    Do I have to install a CCS 4.0 version ?

    Diane

  • As suggested for Martin, I try to install CCSv4.0 with a TMDSCCS-HWN01A licence and re-install the CSL library.

    I still have the same problem.

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

    I have questions:

    - The TMDSCCS-HWN01A version is destined for what ?

    - Why when I install a new version of CCS, the workspace defined in the previous installation is avalaible in the new installed CCS ? It seems that workspace is saved independently from CCS software. Is it normal ? It seems memorized workspace when I uninstall and re-install a CCS.

    - Do I have to uninstall the CCVSv4.1 for installing CCSv4.0 with TMDSCCS-HWN01A licence ?

    - The build-up error is that the curent directory is invalid; it is true in fact that the Debug directory doesn't exist. This directory is automatically created or not at the building up ?

    - So, I decide to create manually a Debug repertory in cslVC5505 directory and in a project directory like "CSL_DMA_PollExample" and build the project. This time, the build-up is done successfully, but it is stange that the cslVC5505.lib and the CSL_DMA_PollExample.out appear on Debug in the CCS interface and is not present physically in its respectively directory.

    Then, I click "Target->Debug Active project". At the launching Debug session, I have the following message:

    "Target configuration, C:\Program Files\C55 Low Power Chip Support Library v2.50.00\c55xx_csl\ccs_v4.0_examples\dma\CSL_DMA_PollExample\C5515eZDSPUSBKeyv2.ccxml, does not have a valid setup, please configure the target and try again."

    The C5515eZDSPUSBKeyv2.ccxml target configuration can't be modified. When I edit it, only source is readable. 

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

    I work on windows seven. I have purchased an EVM5515 evaluation module. it was delivered with a CCS version 4.1.0.02002.

    I have following the C55XCSL-LOWPOWER-2 50 00 00_Release_Notes_20110624.pdf document for installing the CSL library.

    Thanks for any help.

    Diane

  • Hi Diane,

    The 4.1.0 should work fine with the CSL 2.50. The reason you still get the workspace is that the old workspace you created in CCS 4.1.0 is still there. It has the name ".metadata". It is a folder. If you delete the folder manually, then the workspace is gone. We recommend to create the workspace in the CSL 2.50 installation folder. Assume you installed the CSL 2.50 at c:\csl250, then point the workspace to c:\csl250. You should see ".metadata" and "c55xx_csl" folder in c:\csl250.

    The second key is to import ALL the project in CSL one time. You can then pick up the you want to build by set it as the "active project"

    If you still having problem, please let us know.

    Ming

  • Hi Ming,

    Yes, I see that the workspace being still here is because of seven architecture.

    I had defined a workspace to c:\csl250 and windows seven automatically copies every added data of program files to a virtualstore directory, that's why my worspace is still defined after an uninstall and a re-install.

    For the second key I had imported all project of CSL examples.

    To resolve my buildup error, I had to create manually Debug directory for each project. I didn't know if it did right, but it compiled after that.

    Then, for my 2nd problem of target configuration, I don't use the default target configuration of example (C5515eZDSPUSBKeyv2.ccxml) . I define an other one for the EVM5515 and link to the project.

    And now, it works.

    Do you know for what the TMDSCCS-HWN01A version is destined for ?

    Finally, I use the CCSv4.1.

    Thanks and best regards,

    Diane

  • Hi Diane,

    I am glad it finally work out for you.

    To create a debug folder for each project is unusual. I never tried it on Windows 7, so it may be something (accessing right stuff) required by Win 7.

    TMDSCCS-HWN01A license is a special license for the CCS 4.x to the users who have purchased EVMs/DSKs from TI. If you use the one comes with the EVM5515, you are good on licensing.

    Ming

  • Hi everyone,

    I have an ezDSPC5535. I'm trying to using CSL to communicate with SD card without using DSP/BIOS. I wonder if there are some examples about this issue ?

    I also try to find documents about ATA Filesystem but still no result. Could anyone please tell me why we could use ATA structure to read/write FAT32 - SD card ?

    Thank you !

    Good day,

  • Hi Nghiem,

    In CSL 2.50, there are three examples for SD which do not use the DSP/BIOS: CSL_MMCSD_dmaExample, CSL_MMCSD_intrExample and CSL_MMCSD_SdCardExample.

    Attached please find the ATA file system API document ata.pdf.

    The advantage of using ATA file system is that the data files you write to the SD card will be FAT16/32 format,so that other system can read them.

    Best regards,

    Ming

  • Hi Ming,

    This file is very useful to me. Now I could understand some of ATA functions.

    My program could read file content from FAT32 SD card. However I still wonder if the size of my file is about 3 or 4 MB which means it would span across multiple clusters in my SD card, could there be any function which is capable of reading that file ?

    Thank you so much !

    Hoang

  • Hi Ming,

    I'm also interested in using the CSL without DSP/BIOS, but I can't find a way to build it (without DSP/BIOS) for the 5515. I'm currently using the TMS320C5515 eZdsp USB stick. Can you help?

    Thanks,

     Bob Rowlands

  • CSL library does not depend on DSP/BIOS. Most of the CSL examples run with out DSP/BIOS except few like USB class driver examples and MMCSD ATAIF examples. 

    Which project you are trying to build without DSP/BIOS? Are you seeing any errors without BIOS?

    - Pratap.