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.

RTOS/AM3358: Build MyExampleProjects

Part Number: AM3358


Tool/software: TI-RTOS

Hi,

CCS: CCS V7

SDK:ti-processor-sdk-rtos-am335x-evm-03.03.00.04

I import project in pdk\packages\MyExampleProjects into ccs and build these project. But failed and below is the error message.

There are no i2c_arm_icev2am335x_pa8fg.h and i2c_arm_icev2am335x_pa8fg.c in MyExampleProjects\I2C_Example_icev2AM335x_armExampleProject\Debug\configPkg\package\cfg

  • Hi Nancy,

    You should check if AM335x PDK component was successfully installed in your CCS. Open CCS, then select “Window" -> "Preferences” -> "Code Composer Studio" -> "Products". Make sure you have "am335x PDK" into the "Installed products" list. Refer to the below user guide for details:


    Then you need to setup the build environments and create test projects. For Linux, I have:

    {RTOS_folder}$ source setupenv.sh

    {PDK_floder}/packages$ source pdksetupenv.sh

    {PDK_floder}/packages$ ./pdkProjectCreate.sh AM335x icev2AM335x little i2c all arm

    As result, I have:

    I2C_FwTest_icev2AM335x_armTestProject

    I2C_Test_icev2AM335x_armTestProject

    I2C_Example_icev2AM335x_armExampleProject

    I2C_FwExample_icev2AM335x_armExampleProject

    Then I import I2C_Example_icev2AM335x_armExampleProject into CCS and build the project successful.

    I am using RTOS v5.03 and CCS v8.3.1

    Regards,
    Pavel

  • This is my product folder.


    What is the function of package/cfg/i2c_arm_icev2am335x_pa8fg.xdl ? I did not find this file. The error message are related to package/cfg/i2c_arm_icev2am335x_pa8fg.xdl

    error message:

    subdir_rules.mk:26: recipe for target 'build-280999249-inproc' failed
    js: "C:/ti-processor-sdk-rtos-am335x-evm-03.03.00.04/pdk_am335x_1_0_6/packages/ti/drv/i2c/package.xs", line 112: Error: Library not found: C:/ti-processor-sdk-rtos-am335x-evm-03.03.00.04/pdk_am335x_1_0_6/packages/ti/drv/i2c/./lib/am335x/a8/release/ti.drv.i2c.aa8fg
    gmake.exe: *** [package/cfg/i2c_arm_icev2am335x_pa8fg.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/i2c_arm_icev2am335x_pa8fg.xdl'
    gmake.exe: *** [package/cfg/i2c_arm_icev2am335x_pa8fg.xdl] Deleting file `package/cfg/i2c_arm_icev2am335x_pa8fg.h'
    gmake.exe: *** [package/cfg/i2c_arm_icev2am335x_pa8fg.xdl] Deleting file `package/cfg/i2c_arm_icev2am335x_pa8fg.c'
    js: "C:/ti-processor-sdk-rtos-am335x-evm-03.03.00.04/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-280999249-inproc] Error 1
    gmake: *** [build-280999249] Error 2
    subdir_rules.mk:23: recipe for target 'build-280999249' failed
    gmake: Target 'all' not remade because of errors.

  • Nancy,

    I am working on Linux, and I have this file in below folder:

    /home/[user]/ti/pdk_am335x_1_0_14/packages/MyExampleProjects/I2C_Example_icev2AM335x_armExampleProject/Debug/configPkg/package/cfg/i2c_arm_icev2am335x_pa8fg.xdl

    I have RTOS folder and PDK folder in /home/[user]/ti:

    /home/[user]/ti/pdk_am335x_1_0_14/

    /home/[user]/ti/processor_sdk_rtos_am335x_5_03_00_07/

    While I see your PDK folder is inside your RTOS folder:

    C:/ti-processor-sdk-rtos-am335x-evm-03.03.00.04/pdk_am335x_1_0_6

    This does NOT looks correct to me. Please refer to the below user guide. It explains that you need to install RTOS in C:/ti for Windows and /home/[user]/ti for Linux

    I would suggest you to make fresh install of RTOS package components with following the below user guide:

    Regards,
    Pavel

  • Hi,

    Thanks for your help! I am able to build 6678 successfully, so i don't think there are something wrong with my procedure. 

  • Nancy,

    I can not reproduce your problem on my side. But I am doing the things in different procedure. That is why I recommend you to try this way. Install RTOS components in C:\ti. The purpose is to have:

    C:/ti/processor_sdk_rtos_[soc]_[version]

    C:/ti/pdk_[soc]_[version]

    C:/ti/xdc_[xdc_version]

    C:\ti\ccsvx


    etc

    Regards,
    Pavel