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.

66AK2E06: Processor SDK rebuild error for ARM example projects

Part Number: 66AK2L06
Other Parts Discussed in Thread: 66AK2E05, CCSTUDIO, 66AK2H06, 66AK2H12, SYSBIOS

Hi all,

When we try to build Processor SDK examples of  I2C for ARM devices (cortex A15), it output eror exception which is copied below. Initially we run pdksetupenv.bat in windows  and later with pdkProjectCreate.bat K2E all little i2c arm.

I was not able to find specific problem related to this error. Can anyone help to fix this?

Processor SDK version : pdk_k2e_4_0_2

Regards,

Shino

 

C:\ti\PDK_K2~1\packages>pdkProjectCreate.bat K2E all little i2c arm
=========================================================================
Configuration:
SOC : K2E
BOARD : all
ENDIAN : little
MODULE : i2c
PROCESSOR : arm
PDK_SHORT_NAME : C:\ti\PDK_K2~1\packages\
=========================================================================
Checking Configuration...
Complete
=========================================================================
PDK_PARTNO : 66AK2E05
PDK_ECLIPSE_ID : com.ti.pdk.k2e
RTSC_PLATFORM_NAME : ti.platforms.evmC66AK2E
RTSC_TARGET : gnu.targets.arm.A15F
CCS_DEVICE : "Cortex A.66AK2E05"
*****************************************************************************
Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_K2~1\packages\\MyExampleProjects
Detected Test Project: I2C_BasicExample_K2E_armExampleProject

--------------------------------------------------------------------------------
Creating project 'I2C_BasicExample_K2E_armExampleProject'...


!ERROR: Device is either 'null' or unrecognized.
NOTE: Refer to the following list of available devices (the display-names in square brackets are for reference only):

ISA family: ARM
com.ti.ccstudio.deviceModel.TMS470.CustomTMS470Device [Custom ARM Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM7Device [Generic ARM7 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM9Device [Generic ARM9 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericARM11Device [Generic ARM11 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA8Device [Generic CortexA8 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA9Device [Generic CortexA9 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexA15Device [Generic CortexA15 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexM3Device [Generic CortexM3 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexM4Device [Generic CortexM4 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexR4Device [Generic CortexR4 Device]
com.ti.ccstudio.deviceModel.TMS470.GenericCortexR5Device [Generic CortexR5 Device]
Cortex A.66AK2H06 [66AK2H06]
Cortex A.66AK2H12 [66AK2H12]----goes on

  • Hi,

    Can you try adding the [pdkDir] at the end of the command line. According to pdkProjectCreate.bat the usage of this file is as follows:
    @REM * Syntax:
    @REM * pdkProjectCreate.bat [soc] [board] [endian] [module] [processor] [pdkDir]
    @REM *
    @REM * Description: (first option is default)
    @REM * soc - AM335x / AM437x / AM571x / AM572x / K2E / K2G / K2K / K2H / K2L /
    @REM * C6678 / C6657
    @REM * board - all (use "all" for K2X and C66X SOCs)
    @REM * -or-
    @REM * Refer to pdk_<soc>_<version>\packages\ti\board\lib
    @REM * for valid board inputs for the soc
    @REM * endian - little / big
    @REM * module - all
    @REM * -or-
    @REM * aif2 / bcp / cppi / csl / dfe / emac / fatfs / fm / fftc /
    @REM * gpio / hyplnk / i2c / icss_emac / iqn2 / mcasp / mcbsp / mmap / mmcsd /
    @REM * nimu / nimu_icss / nwal / pa / pcie / pktlib / pruss / qm / rm / sa /
    @REM * serdes-diag / spi / srio / tcp3d / tfw / transportqmss /
    @REM * transportsrio / tsip / uart / usb / wdtimer / vps
    @REM * processor - arm / dsp / m4
    @REM * pdkDir - THIS FILE LOCATION / "C:\ti\pdk_<soc>_<version>\packages"

    So in your case try using:
    C:\ti\PDK_K2~1\packages>pdkProjectCreate.bat K2E all little i2c arm "C:\ti\pdk_<soc>_<version>\packages"

    Hope this helps.

    Best Regards,
    Yordan
  • I've successfully created the project on my pc, using the bellow highlighted commands:

    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ source pdksetupenv.sh
    Optional parameter not configured : CG_XML_BIN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: export CG_XML_BIN_INSTALL_PATH="~/ti/cg_xml/bin"
    Optional parameter not configured : DOXYGEN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: export DOXYGEN_INSTALL_PATH="~/ti/Doxygen/doxygen/1.5.1-p1/bin"
    **************************************************************************
    Environment Configuration:
    LIMIT_SOCS : k2h k2k
    LIMIT_BOARDS : evmK2H evmK2K
    PDK_INSTALL_PATH : /home/x0155517/ti/pdk_k2hk_4_0_3/packages
    C6X_GEN_INSTALL_PATH : /home/x0155517/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0
    TOOLCHAIN_PATH_A15 : /home/x0155517/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_A8 : /home/x0155517/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_A9 : /home/x0155517/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3
    TOOLCHAIN_PATH_M4 : /home/x0155517/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS
    FPULIB_PATH : /home/x0155517/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
    CROSS_TOOL_PRFX : arm-none-eabi-
    XDC_INSTALL_PATH : /home/x0155517/ti/xdctools_3_32_00_06_core
    BIOS_INSTALL_PATH : /home/x0155517/ti/bios_6_45_01_29
    IPC_INSTALL_PATH : /home/x0155517/ti/ipc_3_43_02_04
    EDMA3LLD_BIOS6_INSTALLDIR : /home/x0155517/ti/edma3_lld_2_12_01_25
    NDK_INSTALL_PATH : /home/x0155517/ti/ndk_2_24_03_35
    IMGLIB_INSTALL_PATH : /home/x0155517/ti/imglib_c66x_3_1_1_0
    UIA_INSTALL_PATH : /home/x0155517/ti/uia_2_00_03_43
    PDK BUILD ENVIRONMENT CONFIGURED
    *******************************************************************************
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ ./pdkProjectCreate.sh K2H all little i2c arm
    =========================================================================
    Configuration:
    SOC : K2H
    BOARD : all
    ENDIAN : little
    MODULE : i2c
    PROCESSOR : arm
    PDK_SHORT_NAME : /home/x0155517/ti/pdk_k2hk_4_0_3/packages
    =========================================================================
    Checking Configuration...
    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 /home/x0155517/ti/pdk_k2hk_4_0_3/packages/MyExampleProjects
    Detected Project ./I2C_BasicExample_K2H_armTestProject.txt

    --------------------------------------------------------------------------------
    Creating project 'I2C_BasicExample_K2H_armTestProject'...


    Done!
    Copying macros.ini
    Detected Project ./I2C_BasicExample_K2H_armExampleProject.txt

    --------------------------------------------------------------------------------
    Creating project 'I2C_BasicExample_K2H_armExampleProject'...


    Done!
    Copying macros.ini
    Project generation complete
    *****************************************************************************
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$

    Best Regards, 
    Yordan

  • Hi Yordan,

    Will you try same for nimu example and share the project to see the project

    Thanks and Regards
  • Hi,

    I was able to generate the project without any error:
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$ ./pdkProjectCreate.sh K2H all little nimu arm
    =========================================================================
    Configuration:
    SOC : K2H
    BOARD : all
    ENDIAN : little
    MODULE : nimu
    PROCESSOR : arm
    PDK_SHORT_NAME : /home/x0155517/ti/pdk_k2hk_4_0_3/packages
    =========================================================================
    Checking Configuration...
    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 /home/x0155517/ti/pdk_k2hk_4_0_3/packages/MyExampleProjects
    Detected Project ./NIMU_emacExample_EVMK2H_armBiosExampleProject.txt

    --------------------------------------------------------------------------------
    Creating project 'NIMU_emacExample_EVMK2H_armBiosExampleProject'...


    Done!
    Copying macros.ini
    Project generation complete
    *****************************************************************************
    x0155517@mms:~/ti/pdk_k2hk_4_0_3/packages$

    Best Regards,
    Yordan
  • NIMU_emacExample_EVMK2H_armBiosExampleProject.zipAnd here is the zipped project

    Best Regards, 
    Yordan

  • Shino,

    Can you confirm that you are using CCSv6.1.3 and have installed it with the following packages:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide

    One way to to capture the full failure log is :
    pdkProjectCreate.bat K2E all little i2c arm > script_log.txt

    Please capture the full log and provide it for our analysis. Another quick check would be to check if you can create the project for DSP using
    pdkProjectCreate.bat K2E all little i2c dsp

    Regards,
    Rahul
  • Now it works. I was not able to find the exact cause, i had updated code composer for tools and packages. created sample SYSBIOS project  and for DSP i had changed tool chain to what i presently have on the ccs folder

    Thats all.

    Regards,

  • Thanks for updating the thread.

    Best Regards,
    Yordan