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.

  • TI Thinks Resolved

CCS/66AK2H14: CCS/66AK2H14

Part Number: 66AK2H14

Tool/software: Code Composer Studio

Hi,

Iam using CCSV6.1.3 and ti-processor-sdk-rtos-k2hk-evm-03.02.00.05-Windows-x86-Install .

while building EEPROM test example Iam getting below errors

I have included the header files . I have attached my source code.0081.main.c

Please help me to solve these errors.

Thank you

  • Hi,

    I've notified the RTOS team. Their feedback will be posted directly here.

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi,

    Please clarify what exact test project you tried to build, is it I2C_BasicExample_K2H_Evm_c66xExampleProject or I2C_BasicExample_K2H_Evm_c66xTestProject or something else?

    The build error showed that you don't have borad, I2C, UART libraries linked, did you put them in your .cfg file?

    Regards, Eric
  • In reply to lding:

    Hi , Thank you
    I am trying to build C:\ti\pdk_k2hk_4_0_4\packages\ti\drv\i2c\test\eeprom_read\src
    I dont know how to add Board, I2C and UART in .cfg file .
    Please help me with this
    Regards ,
    Mahima shanbag
  • In reply to mahima shanbag:

    Hi,

    Please follow the processors.wiki.ti.com/.../Rebuilding_The_PDK to use the script creating I2C test CCS project. The .cfg contains the libraries requested.

    Regards, Eric
  • In reply to lding:

    Hi

    Thank you for suggestion

    I have gone through the link

    when i give gmake  i2c_clean

    *************************************************************************

    C:\ti\pdk_k2hk_4_0_4\packages>gmake i2c_clean

    gmake -C ./ti/drv/i2c clean

    gmake[1]: Entering directory `C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/i2c'

    gmake clean_libcores SOC=k2h

    process_begin: CreateProcess(C:\ti\xdctools_3_32_01_22_core\gmake.exe, gmake clean_libcores SOC=k2h, ...) failed.

    make (e=234): More data is available.

    gmake[1]: *** [k2h_lclean] Error 234

    gmake[1]: Leaving directory `C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/i2c'

    gmake: *** [i2c_clean] Error 2

    C:\ti\pdk_k2hk_4_0_4\packages>

    and For pdkprojectceate.bat

    C:\ti\pdk_k2hk_4_0_4\packages> pdkProjectCreate.bat K2H all little i2c example arm

    =========================================================================

    Configuration:

      SOC             :   K2H

      BOARD           :   all

      ENDIAN          :   little

      MODULE          :   i2c

      PROCESSOR       :   example

      PDK_SHORT_NAME  :   arm

    =========================================================================

    Checking Configuration...

    ERROR: Processor (example) is invalid

    Exiting...

    =========================================================================

    C:\ti\pdk_k2hk_4_0_4\packages>

    when I try to import project in C:\ti\pdk_k2hk_4_0_4\packages\ti\drv\i2c\test\src

    please help me to solve the errors and I didnt get any information about how to add I2C .cfg file.

  • In reply to mahima shanbag:

    First you don't need to gmake i2c_clean, unless you want to rebuild the i2c library.

    Second, please download the latest Processor SDK 4.1 and try. The syntax for creating project are slightly different for earlier release.

    If you used 4.0.4 or 4.0.5,

    C:\ti\pdk_k2hk_4_0_5\packages>pdkProjectCreate.bat K2H all little i2c arm

    =========================================================================

    Configuration:

      SOC             :   K2H

      BOARD           :   all

      ENDIAN          :   little

      MODULE          :   i2c

      PROCESSOR       :   arm

      PDK_SHORT_NAME  :   C:\ti\PD0581~1\packages\

    =========================================================================

    Checking Configuration...

    Complete

    =========================================================================

      PDK_PARTNO         : TCI6636

      PDK_ECLIPSE_ID     : com.ti.pdk.k2hk

      RTSC_PLATFORM_NAME : ti.platforms.evmTCI6636K2H

      RTSC_TARGET        : gnu.targets.arm.A15F

      CCS_DEVICE         : "Cortex A.66AK2H12"

    *****************************************************************************

    Detecting all projects in PDK and importing them in the workspace C:\ti\PD0581~1

    \packages\\MyExampleProjects

    Detected Test Project: I2C_BasicExample_K2H_armExampleProject

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

    Creating project 'I2C_BasicExample_K2H_armExampleProject'...

    Done!

    Copying macro.ini

           1 file(s) copied.

    Detected Test Project: I2C_BasicExample_K2H_armTestProject

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

    Creating project 'I2C_BasicExample_K2H_armTestProject'...

    Done!

    Copying macro.ini

           1 file(s) copied.

    No projects detected

    Project generation complete

    *****************************************************************************

    C:\ti\pdk_k2hk_4_0_5\packages>

    Regards, Eric

  • In reply to lding:

    Hi ,
    I have installed new version of sdk ti-processor-sdk-rtos-k2hk-evm-04.01.00.06-Windows-x86-Install and I tried running the copmmand

    C:\ti\pdk_k2hk_4_0_7\packages>pdkProjectCreate.bat K2H all little i2c arm
    =========================================================================
    Configuration:
    SOC : K2H
    BOARD : all
    ENDIAN : little
    MODULE : i2c
    PROJECT_TYPE : arm
    PROCESSOR : arm
    PDK_SHORT_NAME : C:\ti\PDK_K2~2\packages\
    =========================================================================
    Checking Configuration...
    ERROR: Project type (arm) is invalid
    Exiting...
    =========================================================================

    C:\ti\pdk_k2hk_4_0_7\packages>


    I am not able to find what is going wrong. Please help me to solve.
  • In reply to mahima shanbag:

    Use: pdkProjectCreate.bat K2H all little i2c all arm

    See 

    Regards, Eric

  • In reply to lding:

    Hi

    Thank you Eric.

    pdkProjectCreate.bat K2H all little i2c all arm   this worked for I2C and project is created.

    but when i give pdkProjectCreate.bat K2H all little hyplnk all arm   it didn't  give me any error but at the same time project is also not created. I have attached the screen shot.

     

    Please help me with this.


    Thanks and Regards,

    Mahima Shanbag

  • In reply to mahima shanbag:

    Hi,

    For Hyperlink on K2H, there is no ARM example project. You need to use pdkProjectCreate.bat K2H all little hyplnk all dsp.

    Regards, Eric

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.