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.

How to setup CCS 5.5 for EVMK2H ?

Other Parts Discussed in Thread: 66AK2H14, 66AK2H06, 66AK2H12, TCI6636K2H

I need to port some existing C/C++ code first to ARM Cortex-A15, and then to TI C66x. For that purpose, I got an EVMK2H board. The EVM features a single 66AK2H14 SoC chip, which has 4X Cortex-A15 + 8X C66x cores. When I boot up the EVM in the NOR SPI mode, I see BMC version 1.0.2.6 displayed on the LCD. There is an accompanying CD that comes with the EVM. I installed CCS 5.5 (C6000 compiler v7.4.4) from the CD.

Right now, I have a few questions/issues, as detailed below:

1. Is CCS the right tool to build for Cortex-A15 on the 66AK2H14 part? If not, what tool chain should be used?

2. If all I want is to build some DSP code for Cortex-A15, and run it on the EVM board in the bare metal mode, do I need MCSDK? 

3. If all I want is to build some DSP code for C66x, and run it on the EVM board in the bare metal mode, do I need MCSDK? In my past experience building and running C66x code, all I needed were CCS and the evaluation board. I could build the code, download the executable to the board, and debug the code, all in the CCS IDE.

4. (Assuming the answer to Q1 is yes) When I create a new CCS project, and I select the "ARM" family in the Device section, I don't see a Cortex-A15 option. Why is that? What device should I choose?

5. When I create a new CCS project, and I select the "C6000" family in the Device section, I don't see a 66AK2H14 option. There are 66AK2H06 and 66AK2H12, but no 66AK2H14 to choose. Why is that? Should I just choose 66AK2H12?

I did a little search, but interestingly (and surprisingly) didn't find similar questions. I'd appreciate your inputs/suggestions/answers. Thanks!

  • Hi RobbySun,

    Please find my answers inlined.

    Robby said:
    1. Is CCS the right tool to build for Cortex-A15 on the 66AK2H14 part? If not, what tool chain should be used?

    You have to use the Linaro tool chain for building the code which runs on ARM cores, i.e., Cortex-A15. For more info on installing the tool chain and the development environment, please visit http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Tools

    You will use CCS for for building DPS code to run on DSP core, i.e., C66xx

    Robby said:
    2. If all I want is to build some DSP code for Cortex-A15, and run it on the EVM board in the bare metal mode, do I need MCSDK?

    Why do you want to  build DSP code for ARM core? Cortex-A15 is a ARM core. However you need MCSDK.

    Robby said:
    3. If all I want is to build some DSP code for C66x, and run it on the EVM board in the bare metal mode, do I need MCSDK? In my past experience building and running C66x code, all I needed were CCS and the evaluation board. I could build the code, download the executable to the board, and debug the code, all in the CCS IDE.

    MCSDK is the development pacakage released for Keystone - II. It will have some sample example code which will ease the developer to start with something which already works. MCSDK is not mandatory.

    Robby said:
    4. (Assuming the answer to Q1 is yes) When I create a new CCS project, and I select the "ARM" family in the Device section, I don't see a Cortex-A15 option. Why is that? What device should I choose?

    Good :-) . Select family as C6000 and the second column of variant as TCI6636K2H. Because it has to have the connections for all the DSP and ARM cores it has within it.

    Robby said:
    5. When I create a new CCS project, and I select the "C6000" family in the Device section, I don't see a 66AK2H14 option. There are 66AK2H06 and 66AK2H12, but no 66AK2H14 to choose. Why is that? Should I just choose 66AK2H12?

    The previous answer is applicable to this as well. If it is a CCS target configuration file, you can select the TCI6636K2H

    I did a little search, but interestingly (and surprisingly) didn't find similar questions. I'd appreciate your inputs/suggestions/answers. Thanks!

    Regards,

    Shankari

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

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

     

  • Hi Shankari,

    Thanks for your reply. That answered some of my questions, but I have a few more questions ... ;-)

    Shankari G said:

    You have to use the Linaro tool chain for building the code which runs on ARM cores, i.e., Cortex-A15. For more info on installing the tool chain and the development environment, please visit http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Tools

    After I installed CCS, I saw three sub-folders under ccsv5/tools/compiler; they are arm_5.1.1, c6000_7.4.4, and gcc-arm-none-eabi-4_7-2012q4. Is the last folder for the Linaro tool chain? If not, what is the difference between this ARM GCC and Linaro?

    Shankari G said:

    MCSDK is the development pacakage released for Keystone - II. It will have some sample example code which will ease the developer to start with something which already works. MCSDK is not mandatory.

    I am looking for some DSP example projects that can be downloaded and run on 66AK2H14's C66x cores, no OS, no ARM, just bare metal DSP. Where can I find such examples?

    Thanks again,

    Robby

  • Hi Robby,

    If you install the MCSDK package, you will get the "mcsdk_bios_3_00_03_15" under which you will find the sample code for C66x cores and can be run on target through CCS.

    But those are on-top of BIOS . It is not a non-os based package.

     

    To answer your first question, the recommended tool chain is Linaro.

     

    Regards,

    Shankari

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

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------