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.

TMS320VC5502: Setup Code Composer Studio v12.5

Part Number: TMS320VC5502
Other Parts Discussed in Thread: SPRC133

I'm working to setup a build environment in Code Composer Studio v12.5 for the TMS320VC5502 and then importing a v2.0 project into the v12.5 environment.

During custom installation, the CCS setup wizard presents multiple components that can be selected to install.  Is "C55x ultra low-power DSP" the correct component for this processor?  Are there other components that I should select at this point in the setup wizard?

After running the CCS setup wizard I'm planning to install the following libraries and modules:

  • SPRC133 TMS320C55x Chip Support Libraries (CSL) - Standard and Low Power
  • DSP/BIOS 5_42_02_10
  • XDCtools 3_24_05_48

But at this very first step in the setup wizard, I want to make sure I'm selecting the correct components.

Note: I had previously installed CCS v12.5 and the various libraries and modules but ran into trouble importing and building my v2.0 project.  So I uninstalled CCS and am reinstalling it just to make sure I'm doing it correctly.

  • Hi Dean,

    Under the SPRC133, there are two packages:

    1. C55XCSL-SPRC133  Download TMS320C5500 Chip Support Library (for C5501, C5502, C5509, C5509A, and C5510, C5510A)C55XCSL-SPRC133 Driver or library | TI.com

    2. C55XCSL-LOWPOWER  TMS320C55x Chip Support Library (for C5504/05, C5514/15/17 and C5535/45)

    As the title suggested, for C5502 should download and install the first one and the 

    • DSP/BIOS 5_42_02_10
    • XDCtools 3_24_05_48

    Best regards,

    Ming

  • Thanks Ming.  On the question of which component should I select from the setup wizard on CCS installation, should I select "C55x ultra low-power DSP" and if so, are there any other components I should select.  Or should I leave that dialog blank and not select anything?  i.e. is all the configuration for the TMS320VC5502 accomplished via the Chip Support Library, BIOS, and XDCtools packages?

    -dean

  • Hi Dean,

    Yes. You will need to check the "C55x ultra low-power DSP" for the C5500 Code Gen Tools and device support packages etc.

    Best regards,

    Ming

  • After finishing the CCS setup wizard, rebooting, setting a default workspace directory, updating to v12.6, and installing the products necessary for the TMS320C5502, I was able to create a new project using a project template (ezdsp5502 Examples): "swi example".

    I had one build issue due to an inability to find the Java runtime executable.

    My error was:

    Building file: "../swi.tcf"

    Invoking: TConf

    "C:/ti/bios_5_42_02_10/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_02_10/packages;" "../swi.tcf"

    subdir_rules.mk:19: recipe for target 'build-1221817777-inproc' failed

    C:\ti\bios_5_42_02_10\xdctools\C:/ti/bios_5_42_02_10/xdctools/tconf: can't create session manager: create of JVM failed

    I was able to fix this issue as outlined in the resolution of

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/422003/c5x-dspbios-tconf-can-t-create-session-manager-create-of-jvm-failed

    by changing my SYSTEM path from

    %XDCROOT%;<Path>

    to

    %XDCROOT%\jre\bin;%XDCROOT%;<Path>

    My basic_C5502 project now builds without error!

    Building target: "basic_c5502.out"

    Invoking: C5500 Linker

    "C:/ti/C5500 Code Generation Tools 4.4.1/bin/cl55" -v5502 --memory_model=large -g --define=c5502 --display_error_number --diag_warning=225 --ptrdiff_size=32 -z -m"basic_c5502.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/C5500 Code Generation Tools 4.4.1/lib" -i"C:/ti/C5500 Code Generation Tools 4.4.1/include" -i"C:/ti/bios_5_42_02_10/packages/ti/rtdx/lib/c5500" -i"C:/ti/bios_5_42_02_10/packages/ti/bios/lib" --reread_libs --display_error_number --warn_sections --xml_link_info="basic_c5502_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "basic_c5502.out" "./swi.obj" "./swicfg.obj" "./swicfg_c.obj" -l"./swicfg.cmd"  -llibc.a

    <Linking>

    Finished building target: "basic_c5502.out"

     

    **** Build Finished ****

     

    My next task is to import a legacy v2.0 project into CCS v12.6 -- thanks for your help!

    -dean